R for programmers
This is a 4-lecture 'graduate skills' course at UCL. R is a high-level programming language with features that make it particularly well suited to manipulating and visualizing data. It is becoming the lingua franca for data mining, according to the New York Times, and it is used by companies such as Google, Pfizer, and Bank of America. In this course you will learn how to use R to summarize data, analyze log files, plot graphs, and explore patterns.
- Download and installation instructions for Linux, MacOSX and Windows
- Further reading
Course contents
- Lecture 1. annotated transcript [pptx slides]
-
When to use R, and when not to use it. Installation.
Variables, functions, control structures. Lists. Vectors. Indexing.
[djwutils_2.13.1.zip] [djwutils_2.13.1.tar.gz] - Lecture 2. annotated transcript [data files]
- Data frames. Importing data.
- Lecture 3. annotated transcript [data files]
- Cleaning data. Data processing. Tabulation.
- Lecture 4. annotated transcript [data files]
- Function arguments. Graphics libraries. Simple plots. Lattice plots. Customizing plots.
- Extra topics. annotated transcript [R] [utils.R]
- Case study: debugging a distributed system. Attributes. Object-oriented programming. Case study: fancy array.