Learn R …as you learnt your mother tongue
This book is 95% complete
Last updated on 2017-04-14
About the Book
This book covers different aspects of the use of the R language plus the languages behind some R packages, including the grammar of graphics implemented in package 'ggplot2' and the grammar of data manipulation implemented in the 'tidyverse' packages. I do not discuss here statistics, just R as a tool and language for data manipulation and display. The idea is for you to learn the R language like children learn a language: they work-out what the rules are simply by listening to people speak and trying to utter what they want to tell their parents. I do give explanations and highlight aspects that may differ from readers expectations, but the intention is mainly for you to use the numerous examples to find-out by yourself the overall patterns and coding philosophy behind the R language. Instead of parents being the sound board for your first utterances in R, the computer will play this role. You should look at and try to repeat the examples, and then try your own hand at modifying them and seeing how the computer responds, does it understand you or not? Then write something new based on your current understanding of the rules...
Are you in doubt about whether this approach will work or not for you? Just give it a try, you can download the book for free in you so wish.
At the moment this book is about 95% complete, but some of the existing text and examples will be revised before final release. Please, do give feedback.
The original datasets and files in formats foreign to R that are used in examples in the book are available in package 'learnrbook' available through CRAN.
Current version is up-to-date with ggplot2 2.2.1 and with several packages extending ggplot2 as released through CRAN, including my own 'ggpmisc' 0.2.15.
Other books by this author
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...