# Introduction to R

Doctoral course within the doctoral programme in Epidemiology
 Course number: 2958
 Credit points: 1,5

**Aim**

The purpose of this course is to introduce students to using the R statistical software to perform basic to intermediate statistical data analysis in a replicable manner.

**Learning outcome**

After successfully completing this course, students are expected to be able to:

- explain basic concepts of the R language and environment, the online- and offline sources of documentation for R, and basic concepts of data management and workflow in a standard statistical analysis,
- run a standard statistical analysis interactively within the R environment,
- formalize and document such a standard analysis as a stand-alone R script,
- produce graphical representations, as part of reporting their analysis,
- interpret their scripts for potential simplifications via functional implementation,
- find, install and compare extension packages for unfamiliar statistical application

**Contents**

The course will cover the basic elements of a standard statistical workflow: reading data into R; pre-processing and quality assessment of data via numerical and graphical methods; descriptive statistics via summary measures, tabulations and graphics; basic statistical inference in terms of significance testing and confidence intervals; specification, fitting &amp; diagnosis of regression models; exporting and reporting results from the previous steps.

The course includes an introduction to the Rstudio integrated development environment to provide a common framework for interactive and scripted analysis. The extensibility of the R system will be demonstrated by example.

**Course director and contact person**

 ![Alexander Ploner](https://ki.se/profile-image/alexander-ploner)

### [Alexander Ploner](https://ki.se/en/people/alexander-ploner)

 Researcher

 Phone:  [+46852482329](tel:+46852482329)

 Email:  <alexander.ploner@ki.se>

 ![Gunilla Roos](https://ki.se/profile-image/gunilla-nilsson-roos)

### [Gunilla Roos](https://ki.se/en/people/gunilla-nilsson-roos)

 Education Administrator

 Phone:  [+46852482293](tel:+46852482293)

 Email:  <gunilla.nilsson.roos@ki.se>

  You must have JavaScript enabled to use this form.

 Did you find the information on this page useful?           Yes

          No

 Help us improve the content on this page.?

Karolinska Institutet is not able to provide personal feedback on your comment.
 

Please be as specific as possible in your feedback (e.g. which paragraph, link, etc. it refers to).

 Content reviewer:

 [Gunilla Roos](https://ki.se/en/people/gunilla-nilsson-roos)

 Page updated:10-03-2026

 Share  Share        [Facebook](https://www.facebook.com/sharer/sharer.php?u=https://ki.se/index%2ephp/en/markdownify/node/6469&t=Introduction+to+R) [Bluesky](https://bsky.app/intent/compose?text=Introduction+to+R%20https://ki.se/index%2ephp/en/markdownify/node/6469) [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https://ki.se/index%2ephp/en/markdownify/node/6469&title=Introduction+to+R)