
上QQ阅读APP看书,第一时间看更新
To get the most out of this book
- The official website of R is the Comprehensive R Archive Network (CRAN) at www.cran.r-project.org. At the time of writing this book, the most recent version of R is 3.5.1. This software is available for three platforms: Linux, macOS, and Windows. The reader can also download a nice frontend, such as RStudio.
- Every chapter has a header section titled Technical requirements. It gives a list of R packages required to run the code in that chapter. For example, the requirements for Chapter 3, Bagging, are as follows:
- class
- FNN
- ipred
- mlbench
- rpart
The reader then needs to install all of these packages by running the following lines in the R console:
install.packages("class") install.packages("mlbench") install.packages("FNN") install.packages("rpart") install.packages("ipred")