Teaching

Course pages

Selected links

For the R programming language

Installation: download and install the R language itself, then download and install the free desktop version of RStudio, finally, you may find this short, free book on the basics of R and RStudio helpful for getting started.

Packages and guides

Interesting data sets

Data in R packages is easy to access. Just install.packages("packagename") (with quotes), then library(packagename) (without quotes), and read the package documentation for help. For example, the nycflights13 documentation describes 5 dataframes contained in that package, like the flights dataframe and the name and meaning of each variable it contains.

If a package is not available on CRAN (the central repository for R), but is instead only hosted on github, you may need to install the package devtools and use the command devtools::install_github("authorname/packagename").

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".