Welcome!

Welcome to the Introduction to Data Analysis with R workshop! The course website can be found at nrennie.rbind.io/training-intro-to-r, where you will also find a copy of the slides.

Contents

R is a programming language commonly used for data analysis and statistical modelling. In this workshop, we’ll cover:

Part 1 (morning)

  • Basic operations in R and RStudio.
  • Understanding what functions and packages are.
  • Reading in data from CSV files and Excel files.
  • Where to find help with R

Part 2 (afternoon)

  • Plotting your data in histograms, bar charts, boxplots, and scatter plots.
  • Computing summary statistics, such as the mean, median, variance, and standard deviation.
  • Performing simple statistical tests, including t-tests.

Target audience

This workshop is for you if:

  • you’ve never done any programming using R before but want to get started; or
  • you’ve never done any statistical analysis before and you’d like to find out how; or
  • it’s been a while since you did any programming or statistics and you’d like a refresher; or
  • you’ve done a little bit of R or statistics but you want to build some confidence.

Prerequisites

Please bring a laptop (and charger). There’s no need to install any software before the session, but please make sure you can access AppsAnywhere. If you have any problems, please email me before the session.

R packages

There’s no need to install these before the session, but we’ll be using the following R packages:

  • readr
  • readxl
  • dplyr
  • ggplot2
  • gt
  • gtsummary
Further training

View other available training courses and workshops at nrennie.rbind.io/projects/training-workshops.