Introduction to R
2020-11-26
Introduction
The purpose of this tutorial is to introduce the software package R that is employed in class and in the tutorials to review very basic concepts in statistics and linear algebra.
This script relies on the following sources:
- The scripts of Prof. Dr. Liebl and Prof. Dr. Freyberger
- The online textbook Introduction to Econometrics with R
Other very good and useful tutorials can be found here:
- Reference card for R commands
- Matlab/R reference
- The official Introduction to R
- www.r-project.org
- An R-package for learning R: www.swirl.com
- A book project which covers also advanced issues such as “writing performant code” and “package development”: adv-r.had.co.nz
- Another excellent book: R for Data Science
- An introduction to statistical learning with R
Some additional tutorials:
Why do we use R?
- R is free of charge and can be downloaded from https://cran.rstudio.com/
- The IDE RStudio for R is also free of charge and can be downloaded from
https://rstudio.com/products/rstudio/download/#download - R is equipped with one of the most flexible and powerful graphic routines available anywhere. For instance, check out one of the following repositories:
- Today, R is the de-facto standard for statistical science.
I highly recommend to install RStudio for this course. For installation just follow the instructions on
https://rstudio.com/products/rstudio/download/#download