An introduction to the R environment. Details on downloading, installing and running R for the first time.
Using R - Data Input and Output
Getting started with R. Input and output of values, tables and simple variables from standard input. Learn how to perform simple arithmetic operations, insert tables of data in R and reading ready R code.
Becoming familiar with R's "zoo" of data types. Getting to know which data types best fits your needs, how to coerce one data class to another and which function apply to which type of data.
An introduction to R's functions with focus on simple arithmetic and character functions that make writing R routines simpler and easier. An introduction to controlling the flow of commands in the R environment.
Introducing R's arsenal of statistical functions. Starting with simple descriptive statistics and moving on to some more advanced functions suitable for simulating random processes.
Plotting with R. A detailed description of R's basic plotting functions for the creation of elegant graphs that make data interpretation easy and straight-forward.
Writing our own R scripts. Basic notions of programming such as control structures and loops. Examples of simple R scripts.
Introduction to R's advanced functions for data analysis and modelling. The chapter includes examples of R use for clustering, classification and linear modelling of data.
A complete transcript of the lectures on R can be found here. A version of these notes in markdown format (containing executable code) is located here.