This is a minimal example of a book based on R Markdown and bookdown (https://github.com/rstudio/bookdown). Please see the page "Get Started" at https://bookdown.org/ for how to compile this example.
modern_r's Introduction
modern_r's People
Forkers
kojimizu mdwarf abes-eric rifonachi jwstout38 akshaypakhle10 snowdj wyih spikh pbaingana b-srikanth ryanyangwang sudipbmb toolikamisra yissola hung303mc davan690 anhnguyendepocen jjcoen hebams95 emma-mayheppell jixing475 jloe7 pauliinaa am243 lyh1060826421 dashansh chas-mellish jsgro nicholaskarlson krlmlr armossamodern_r's Issues
Minor typo "colmuns" line 73in Section 3.1
modern_R/03-reading_writing_data.Rmd
Line 73 in 2a7bf9b
map_at() usage in the Chapter 8.3.1
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]]
## [1] 4.358899
##
## [[4]]
## [1] 64
However, the numbers
vector takes values numbers <- c(0, 5, 8, 3, 2, 1)
and the output I get is:
## [[1]]
## [1] 0
##
## [[2]]
## [1] 5
##
## [[3]]
## [1] 2.828427
##
## [[4]]
## [1] 3
##
## [[5]]
## [1] 2
##
## [[6]]
## [1] 1
This does make sense since the square root of 0 is 0 and the square root of 8 is 2.828427.
Looking forward to your response.
Thanks,
Leyla
4.3 Minor Typo "prodives" in the intro to 4.3
Line 235 in 2a7bf9b
Wrong link
@b-rodrigues Just to let you know the link for ggplot2 extensions here links to an adult website.
Other than that, brilliant website thank you.
Typo
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", "ranger"))
Did you mean "mlrMBO"? As I couldn't find the package "mrlMBO".
Thanks
everything()
Line 515 in 46bc8fb
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??
No backslash worries in Windows 10
modern_R/03-reading_writing_data.Rmd
Line 36 in 2a7bf9b
Windows 10 RStudio seems to work just fine with UNIX-style forward slashes (/////) in file and setwd() references. It SEEMS to interpret \ as the UNIX-style escape character.
gitbash yields a terminal window for Windows 10 that understands UNIX commands ls, ln, vi, cd, mv, cp, mkdir... With / as understood in UNIX.
Briefly, what does everything() do.
Line 515 in 46bc8fb
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??
For Newbies: briefly, around here somewhere: how group_by and filter are row oriented
Line 280 in 46bc8fb
For Newbies: briefly, around here somewhere: how group_by and filter are row oriented.
starwars dataset: "male" value instead "masculine"
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 much. Regards.
02-data_types.Rmd, around line 19: Revealed to me only yesterday: in RStudio, alt-minus!!!
tapply same-length error message
Line 105 in d1d3ed1
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.
Toy Examples?
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 interact with the data.frame construct.
This "toy" example has few rows or columns, so, whatever you do to/with it will entirely fit on a screen as you write about group_by(), and its dplyr associates. The larger mtcars, starwars, iris, etc, can come later after some confidence is built.
Section 1.9, line 148: "This" should probably be "These"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.