Overview of the Day

DPI R Bootcamp

Jared Knowles

Welcome

Thanks for being here today and joining us in Madison Wisconsin for the first inaugural Wisconsin DPI R Bootcamp!

Outline

We hope to move through the following topics in the next couple of days.

Agenda

Day 1: December 3rd, 2012

Agenda (II)

Day 2: December 4th, 2012

Agenda (III)

Day 2: December 4th, 2012

Agenda (IV)

Day 3: December 5th, 2012

Materials

If you don't have it already, now might be a good time to install R and RStudio to get started.

Installing R on Windows

Installation Tips

Next Install packages

First, watch this tutorial

Install Packages

Install Packages (2)

install_new<-function(mypkg){
  if (mypkg %in% installed.packages()) cat("Package already installed")
  else{cat("Package not found, so installing with dependencies... /n
           Press CTRL C to abort.")
    Sys.sleep(5)
    install.packages(mypkg,repos="http://cran.wustl.edu/")
}
}

install_new('plyr')
install_new('lmtest')
install_new('ggplot2')
install_new('gridExtra')
install_new('stringr')
install_new('knitr')
install_new('quantreg')
install_new('zoo')
install_new('xtable')
install_new('lme4')
install_new('caret')

How it Works

Housekeeping

Have fun!

Let's get started!

References and Resources

Attribution and License

This work (R Tutorial for Education, by Jared E. Knowles), in service of the Wisconsin Department of Public Instruction, is free of known copyright restrictions.

Public Domain Mark