Learn R ...as you learnt your mother tongue

Forskningsoutput: Bok/rapportBokProfessionell


This book covers different aspects of the use of the R language plus the languages behind some R packages, such as the grammar of graphics implemented in package 'ggplot2'. 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 some explanations and comments, 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 see 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 85% complete, but the existing text and examples will be revised. Please, do give feedback.

Current version is up-to-date with ggplot2 2.2.0, and with several packages extending ggplot2 as released through CRAN immediately after/concurrently with this version of ggplot2.
Antal sidor350
Status!!E-pub ahead of print - 2017
MoE-publikationstypD5 Textbok, professionell manual eller guide eller lexikon

Bibliografisk information

Published on-line, when final version is ready, ISBN will be assigned and printed version will be made available.


  • 112 Statistik
  • 222 Övrig teknik och teknologi

Citera det här