Introduction to R, Session 2

MRC Clinical Sciences Centre
http://mrccsc.github.io/r_course/introToR_Session2.html

Overview

Recap on what we have covered.

Session 1 covered introduction to R data types, inputing data, plotting and statistics.

Recap (1/3)

R stores data in five main data types.

  • Vector - Ordered collection of single data type (numeric/character/logical).
  • Matrix - Table (ordered 2D collection) of single data type (numeric/character/logical).
  • Factors -Ordered collection of ordinal or nominal catagories.
  • Data frame - Table (ordered 2D array) of multiple data types of same length.
  • List - Ordered collection of multiple data types of differing length

Getting help

The end

Two tips