modern_R
modern_R copied to clipboard
Hi, According to the book: `map_at(numbers, c(1, 3), sqrt)` will generate the following output. ``` ## [[1]] ## [1] 2.645751 ## ## [[2]] ## [1] 8 ## ## [[3]] ##...
In the preface section, there's a command to install packages >install.packages(c("tidyverse", "rsample", "recipes", "blogdown" ,"yardstick", "parsnip", "plm", "pwt9", "checkpoint", "Ecdat", "ggthemes", "ggfortify", "margins", "janitor", "rio", "colourpicker", "glmnet", "lhs", **"mrlMBO"**, "mlbench",...
@b-rodrigues Just to let you know the link for **ggplot2 extensions** [here](https://b-rodrigues.github.io/modern_R/graphs.html) links to an adult website. Other than that, brilliant website thank you.
Hi: In dplyr 0.8.5, starwars dataset uses "male" for "gender" column instead "masculine". That causes examples to fail. So far, great book, easy to read and follow. Thank you very...
https://github.com/b-rodrigues/modern_R/blob/d1d3ed1e852c246198338f0fa899a8220913e99d/04-descriptives.Rmd#L105 A delight of R is this propensity for inscrutable-to-newbies error messages. A gentle suggestion as to which arguments' lengths are causing the trouble here seems in order.
Perhaps an example such as your here-present "toy" data.frame/tibble/tribble would play well in section 2.8, where you mention data.frames for the first time. Maybe give a newbie a chance to...
https://github.com/b-rodrigues/modern_R/blob/46bc8fb27df05a4137ae39f2dfdf25be0d4c3c77/04-descriptives.Rmd#L515 everything() documentation seems thin on the ground. It perhaps means everything_else()? But there are dark allusions to non-intuitive behaviour in the presence of minus-excluded column references??
https://github.com/b-rodrigues/modern_R/blob/46bc8fb27df05a4137ae39f2dfdf25be0d4c3c77/04-descriptives.Rmd#L515 everything() documentation seems thin on the ground. It perhaps means everything_else()? But there are dark allusions to non-intuitive behaviour in the presence of minus-excluded column references??
https://github.com/b-rodrigues/modern_R/blob/46bc8fb27df05a4137ae39f2dfdf25be0d4c3c77/04-descriptives.Rmd#L280 For Newbies: briefly, around here somewhere: how group_by and filter are row oriented.