all short courses

Data science in R

OSCON, Portland, OR.. July 16 2012.

Make sure you have the following software installed:

  • R 2.15

  • Rstudio desktop

  • Once you have R and Rstudio installed, open Rstudio and run the following code:

    install.packages(c("ggplot2", "plyr", "reshape2", "stringr"))
  • You can check everything is installed correctly by running:

    library(ggplot2)
    qplot(mpg, wt, data = mtcars)

Course outline

    Introductions and course outline.

    R language and ecosystem

      Introduction to R and some of the thing that make it special as a language and an ecosystem.

      Visualisation

        Quick introduction to ggplot2 and where to learn more.

        Transformation

          How to get data into and out of R, and how to work with it when you have it.

          Modelling

            Introduction to modelling in R, including the standard modelling algebra and APIs. Pointers to machine learning tools and where to learn more.

            Case study

              A case study that uses transformation, modelling and visualisation to find diseases with unusual time patterns using ~500,000 mortality records from Mexico