Introduction to R

This is a one day intensive course on basics and fundamental concepts of R. The course is structured as a set of lecture sessions and computer practicals. It is suitable to a wide range of participants e.g., statisticians, biologists, clinicians and postgraduate students.

The course assumes no prior programming skills.

COURSE OUTLINE

  • What is R?: A brief overview of the concepts and features of the R statistical programming environment.
  • Help systems in R: A description of how to use different sources of R help.
  • Data types: A brief introduction to different data types in R including numeric, complex, character, factor and logical data.
  • Data structure: A summary of R’s data structure including vectors, matrices, arrays, data frames and lists.
  • Importing data: Describing how to import, edit, save and export data of different formats from R including Excel, SPSS, STATA and SAS data files.
  • Data manipulation: A description of how to use logical operators to manipulate data.
  • Missing values: Describing how R handles missing values.
  • Visualisation: Creating, editing and saving graphics in various formats using R.

PRESENTER

Dr. Osama Mahmoud, Senior Research Associate in Medical Statistics, School of Social and Community Medicine, University of Bristol, UK.

INSTALLING THE R PACKAGE

Each course is associated with an R package tailored to combine together the practical sheets with solutions, course notes and training data sets. The R package associated with this course, named 'sscmRintro', can be simply installed by running the following code lines into your R session.

install.packages("drat")
drat::addRepo("statcourses")
install.packages("sscmRintro", type="source")

The package can then be loaded via:

library("sscmRintro")