We learn R from scratch.
Literature
- An Introduction to R
-
Jones, Owen, Robert Maillardet, and Andrew Robinson. Introduction to scientific programming and simulation using R. CRC Press, 2014.
Lecture notes
- Introduction
- Data manipulation
- Loops and Functions | R Code
- Vectorization
- Distributions and Random Numbers | R Code
- R Graphics | R Code
- Optimization | Matrix Derivatives | R Code
- Sampling From Unknown Distributions | R Code
- Bayesian Posterior Sampling | Introduction to Bayesian Linear Models (in Bayesian data analysis [third ed] by Gelman et al) | R Code
- Data Import and Export | R Code
- Computational Linear Algebra | R Code
- Debugging and Profiling | R Code
Lab Exercises
Please send your solution to me before the due day. Please use the string “SC2015SPRING” in your mail subject line. You submission will be ignored without such string.