Programming with Data
In Programming with data 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. It will be held in a computer lab but 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.
Timetable
Date | Notes | Lectures and Resources |
---|---|---|
9 - 9:30 | 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. Setup.R |
9:30 - 10:30 | 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. 2-MotivatingExample.R daily_shedding.csv |
10:30 - 10:50 | Break | |
10:50 - 11:50 | Basics | Working with data and learning about vectors, indexing vectors, and additional statistical functions. 3-Basics.R R Reference Card |
11:50 - 12:50 | Lunch Break (on your own) | |
12:50 - 2:20 | Data Structures | Using and examining the other data structures that are available in R. 4-DataStructures.R tips.csv yourturndata.txt |
2:20 - 2:40 | Break | |
2:40 - 4:00 | 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. 5-PackagesProgramming.R |
3:55 - 4:00 | Evaluation | Help us make the workshops better! |
Useful Links
Recommended Reading:
- R for Data Science
- R for ecologists Data Carpentry workshop
Your Turn Solutions
Please make sure to try the practice problem before viewing solutions