Selected Solutions to R4DS Exercises
This is the website for “Selected Solutions to R4DS Exercises”. This is a joint advanture between Chunji Wang, Ron, Luna, Zhiyin, Chengcheng…. We started the “R4DS Study Club” on Sep 22nd, 2017; If you want to join us, please contact us!
0.1 How to use this book
The chapter labels in this book is the same as the original R4DS book; go to the corresponding chapter for solutions. You might need to read the beginning of the chapter to load some packages or create some variables that are needed in the exercises.
0.2 How to contribute to this book
The following are instructions of how to write a book with bookdown.
Figures and tables with captions will be placed in
table environments, respectively.
par(mar = c(4, 4, .1, .1)) plot(pressure, type = 'b', pch = 19)
knitr::kable( head(iris, 20), caption = 'Here is a nice table!', booktabs = TRUE )