R for Data Science#
tidyverse#
We use popular R packages for data science in this course. The \(tidyverse\) is an opinionated collection of R packages designed for data science. All packages share an underlying design philosophy, grammar, and data structures.
Install the complete tidyverse with:
install.packages("tidyverse")
tidymodels#
The \(tidymodels\) framework is a collection of packages for modeling and machine learning using tidyverse principles.
Install tidymodels with:
install.packages("tidymodels")
What are the benefits?#
The tidyverse and tidymodels encourage and help ensure that a universe of streamlined packages, in principle, will help alleviate dependency issues and compatibility with current and future features.
Therefore, sections in this chapter will help you learn R for data science. We focus on tidyverse for now, and will introduce tidymodels when we learn the data mining models.