Introduction to R

Midwest Big Data Summer School

June 21 2016

Heike Hofmann, hofmann@iastate.edu.

In Introduction to R you get a head start with the statistical software R. R has gained a huge number of users in the last years and the number of methods from add-on packages is growing rapidly. The course will be data centric, with lots of different data sets that illustrate examples of the different techniques used for different problems.

The course will be a mix of instruction and follow-up exercises. You are encouraged to bring your own laptops, with software already loaded. A list of software is available to help you prepare your machine for the workshop.

Slides and timetable

Date Notes Lecture and Resources
2:10 – 3:10 Setting Up This will make sure that everybody's system is up and running. You should try to install R ahead of time, so that this time can be used to address potential problems.
0-getting-started.R
0-getting-started.Rmd
Motivating Example First taste of R: Jumping right into it to get an idea of how to use R and what it is capable of.
1-example.R
1-example.Rmd
tips.csv
styles.css
Basics Working with data and learning about vectors, indexing vectors, and additional statistical functions.
2-basics.R
2-basics.Rmd
R Reference Card
3:10 – 3:40 Break
3:40 – 5:30 R Objects and Data Structures Using and examining the other data structures that are available in R.
3-r-objects.R
3-r-objects.Rmd
Packages and Basic Programming Introduction to packages and finding useful packages. We will also cover simple programming constructs to make your life easier with R.
4-programming.R
4-programming.Rmd
Get Going with RMarkdown Learn about using RMarkdown for dynamic document generation
5-rmarkdown.Rmd

YourTurnSolutions.Rmd

Learning outcomes

After the end of the this one course, we expect you to be able to do the following:

Getting Ready on your own machine

You can bring your own laptop and work on it, if you like to. In order to keep up with everybody else, we're asking that you start installing the following pieces of software ahead of coming to the workshop:

Useful links

Recommended Reading: