Base R refers to the collection of functions that come with a clean install of R.
3/24/2018
Base R refers to the collection of functions that come with a clean install of R.
Base R refers to the collection of functions that come with a clean install of R.
Examples:
sleep$extrasleep[, "extra"]mean(), sd()plot(), hist()read.csv()The tidyverse is an opinionated collection of R packages designed for data science.
The tidyverse is an opinionated collection of R packages designed for data science.
Included packages:
All packages share an underlying design philosophy, grammar, and data structures.
Elegance?
Good code is correct, fast, readable.
Good code is correct, fast, readable.
And predictable.
Understanding code is hard. Even when you yourself wrote it.
You want your code to be understood by collaborators, fellow academics, and yourself at a later time.
Coding consists mostly of looking at other people’s code.
While learning R, it’s easier if the code is understandable.
Human factors are my main argument for why I favor the tidyverse.
Main benefits:
Main benefits:
This makes R a LOT easier to use/learn.
The website: https://www.tidyverse.org
R for Data Science book by Grolemund and Wickham: http://r4ds.had.co.nz