Welcome to r4ds!
This is the website for the work-in-progress 2nd edition of "R for Data Science". This book will teach you how to do data science with R: You'll learn how to get your data into R, get it into the most useful structure, transform it, visualise it and model it.
In this book, you will find a practicum of skills for data science. Just as a chemist learns how to clean test tubes and stock a lab, you'll learn how to clean data and draw plots---and many other things besides. These are the skills that allow data science to happen, and here you will find the best practices for doing each of these things with R. You'll learn how to use the grammar of graphics, literate programming, and reproducible research to save time. You'll also learn how to manage cognitive resources to facilitate discoveries when wrangling, visualising, and exploring data.
This website is (and will always be) free to use, and is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 License. If you'd like a physical copy of the book, you can order it from amazon; it was published by O'Reilly in January 2017. If you'd like to give back please make a donation to Kākāpō Recovery: the kākāpō (which appears on the cover of R4DS) is a critically endangered native NZ parrot; there are only 199 left.
Please note that R4DS uses a Contributor Code of Conduct. By contributing to this book, you agree to abide by its terms.
Note: This new documentation was developed by fralfaro. You can find the repository at the following link: fralfaro/r4ds-book.