lessons

R basics

The aim of the first sessions is to give you the very basic knowledge of R, about the building blocks of R. This should be almost enough for you to be able to start working in R on your own. It should cover the basics that is assumed to be known by help pages and specific tutorials on the internet – I expect you to be able to more or less follow them after the first couple of session of our course.

We will then continue towards the modern workflow in R, using some more recent add-ons (or packages, as they are called in R). We will cover data wrangling, convenient aggregation, filtering, slicing. We will look at data visualisation with grammar of graphics and how to create professional looking reports and articles straight from R.

R will feel different at first if you have never used a scripting language, and it does have a learning curve. We will ascend the steepest part of it during the first sessions. The worse will be over by then and we can continue with stuff that is much more fun, reaching the elegant features of modern R that have made R the language of choice in many fields.

DOI: https://doi.org/10.5281/zenodo.12165576

Licence: Creative Commons Attribution 4.0 International

Keywords: R, RStudio, ggplot2, Rmarkdown, Quarto, dplyr, data visualisation

Target audience: Beginner

Resource type: lessons

Version: 1.0

Status: Active

Learning objectives:

  • work in R and RStudio
  • write functions in R
  • understand the concept of grammar of graphics and work with ggplot2
  • understand the concept of tidy data and convert data between long and wide format
  • data filtering and summarizing by groups with dplyr
  • minimum necessary understanding of RMarkdown/Quarto

Date created: 2024-06-19

Date modified: 2024-06-19

Date published: 2024-06-19

Authors: Indrek Seppo

Scientific topics: Informatics, Computer science


Activity log