Princeton University. – 68 p. – ISBN: N/A
The Undergraduate Guide to R is an introduction to the R programming language for beginners.
After reading this book, you will be able to perform most common data manipulating, analyzing, comparing and viewing tasks with R. The book also provides the necessary foundation blocks to enable the reader to progress to more advanced R techniques, and offers general tips and suggestions about how to code in R.
The Undergraduate Guide to R is written so that the reader needs no prior knowledge of programming (although basic knowledge of general computer skills and statistics is essential).
Sections cover:
What is R?
How to Install R
The Basics: Algebra, Vectors, Matrices, Manipulation to arrange your data, and Loops/Statements (for-loop, if-statement, ifelse-statement)
Data Types: Types, Converting/Using
Reading in Data: Types of Data, How to Read In Data
Plotting Data: Dot Plots, Histograms, Box Plots, and Additions
Exporting Data: Types of Output, How to Export Data
Functions: Built In, Custom
Tips for Writing Good R Code: General, Matrix Multiplication, Plan, Debug, Help, Packages
R Editors: Besides the RGui built-in editor, this chapter gives links to other popular editors for R, including WinEDT, Tinn-R, and explains that other popular editors such as Eclipse and Emacs can be configured to use R syntax highlighting