programming with Data in R

Midwest Big Data Summer School

May 16 2022

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
1:30 – 2:50 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
penguins.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
2:50 – 3:00 Short Break
3:00 – 4: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
The tidyverse A good conceptual framework is key for a principled analysis of data. The [tidyverse](https://cran.r-project.org/web/packages/tidyverse/vignettes/manifesto.html) is a set of R packages that does exactly that: a sane approach to data analysis
4-dplyr.R
4-dplyr.Rmd
Examples for dplyr Practice your dplyr chops while considering your happiness
5-dplyr-examples.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: