Accessibility Skip to Global Navigation Skip to Local Navigation Skip to Content Skip to Search Skip to Site Map Menu

Introduction to R

He whakatakinga ki te R

Monday 1 February 2021

Introduction to R will cover the use of the open source programming language R (and RStudio) for data manipulation, simple data analysis, and graphing. All practical exercises are illustrated using data from health sciences studies.

Topics covered

  • R basics and RStudio
  • Data importing, organising and manipulating
  • Exploratory data analysis
  • Graphics and data visualisation
  • Specifying formulae and simple regression models

Style of course

Computer lab - hands-on course combining taught overview, hints on programming practices, and practical exercises. Course attendance is limited to 18 participants.

Who should attend?

The course is intended for individuals who would like to become more comfortable with the R environment for research/study purposes. Basic knowledge of biostatistics is required for the course (e.g. confidence intervals, hypothesis testing) as the focus is on R rather than statistics. Some brief experience in R or another statistics package using programming commands (e.g. Stata, SAS) may be useful but is not presumed. The practicals will be completed using Windows but the material also applies to people running R on a Mac or Linux system.

COVID-19 contingency plan

If COVID Alert Level restrictions prevent in-person/face-to-face delivery of this course, the course will be cancelled and the course fee will be refunded in full.

If the course is able to be delivered in person, but a participant cannot travel to Wellington due to COVID Alert Level restrictions, the course fee will be refunded in full.

Draft timetable

Time Content Presenter
8.30am Registration and Coffee
9:.00am Part 1: Basics, installation and set up James Stanley
10:30am Morning break
11am Part 2: Data manipulation James Stanley
12:30pm Lunch break
1:15pm Part 3: Exploratory data analysis and hypothesis testing James Stanley
3pm Afternoon break James Stanley
3:30pm Part 4: Graphics and data visualisation
Part 5: Regression
James Stanley
4:50pm Summary of course and evaluation James Stanley
5pm Finish

Teaching staff

  • Dr James Stanley is a Research Associate Professor and consulting biostatistician at the University of Otago, Wellington. He started using R in 2009 to draw nicer graphs than he could draw elsewhere, and now uses it for nicer everything-else-analysis.

Course cost and registration

$300 early bird, $400 after Tuesday 22 December 2020.

A 50% discount is available to full-time students, those unwaged and University of Otago staff.

Note COVID contingency plan above. Any questions please see FAQ page or email

Register now