The popular, open source statistical programming language “R” is widely used in both academia and industry or data analytics. According to a recent survey, R is the 15th most used programming language. We can work directly in R, but RStudio provides a more friendly programming environment. Importantly, Rstudio can be used only in conjunction with R. In this workshop, we will present in RStudio.

Both R and RStudio are free. The links below provide two short videos indicating how to download and install R and RStudio (Please install both):

The introductory workshop includs three sections.

  1. In the first section, we focus on the basic data types used in R. We will introduce vector, matrix, data frame and list.
  2. In the second section, we introduce the basic graphic skills, such as:
    • how to plot different types of graphics, including scatter plots, box plots, bar charts, pie charts;
    • how to add points and lines;
    • how to add legends;
    • how to adjust the margins;
    • how to lay out multiple graphics.
  3. In the last section, we will work on a real case together.

At the end of the workshop, participants will: