R is rapidly becoming the standard platform for data manipulation, visualization and analysis and has a number of advantages over other statistical software packages. A wide community of users contribute to R, resulting in an enormous coverage of statistical procedures, including many that are not available in any other statistical program. Furthermore, it is highly flexible for programming and scripting purposes, for example when manipulating data or creating professional plots. However, R lacks standard GUI menus, as in SPSS for example, from which to choose what statistical test to perform or which graph to create. As a consequence, R is more challenging to master. Therefore, this course offers an elaborate introduction into statistical programming in R. Students learn to operate R, make plots, fit, assess and interpret a variety of basic statistical models and do advanced statistical programming and data manipulation.
Materials covered:
Start | End | What? |
---|---|---|
09.00 | 10.00 | Lecture |
10:00 | 10.45 | Practical |
10.45 | 11.00 | Discussion |
break | ||
11.00 | 11.45 | Lecture |
11:45 | 12.40 | Practical |
12:40 | 13.00 | Discussion |
R/RStudio
Steps: please sign up for Posit Cloud. Choose the free plan.
R
and RStudio
from scratchSteps:
R
: R
can be obtained here. We won’t use R
directly in the course, but rather call R
through
RStudio
. Therefore it needs to be installed.RStudio
Desktop: Rstudio is an Integrated
Development Environment (IDE). It can be obtained as stand-alone
software here.
The free and open source RStudio Desktop
version is
sufficient.Steps: see this manual.
R
: The function updateR()
in the
package installR
(Windows) or updateR
(Mac) is
the easiest route.RStudio
Desktop: Download the new version here.To ensure that you work with the latest iteration of the course materials, we advice all course participants to access the materials online.
R
: Data types and structures
All lectures are in html
format. Practicals are files
that guide you through the exercises. Use the files without solutions
unless you get stuck. Please ask questions to the instructors if
something is not 100% clear.
renv
The above links are useful references that connect to today’s materials.
rmarkdown
What is R Markdown? from RStudio, Inc. on Vimeo.
See also this
rmarkdown
cheat sheet.
To ensure that you work with the latest iteration of the course materials, we advice all course participants to access the materials online.
All lectures are in html
format. Practicals are files
that guide you through the exercises. Use the files without solutions
unless you get stuck. Please ask questions to the instructors if
something is not 100% clear.
The above links are useful references that connect to today’s materials.