Preface
I THE BASICS
1
Introduction
1.1
Content
What is R and why should I learn it?
The course structure
Setup
Layout
2
Basics of R Programming
2.1
Content
Arithmetic operations and assignment
Vectors
Coercion
Logical Values and Operators
Indexing
Sorting
2.2
Summary
Functions list
2.3
Exercises
3
Data structures
3.1
Content
Data Frames
Factors
Reading and writing the data
Missing values
Lists
3.2
Summary
Functions list
3.3
Exercises
4
Exploratory Data Analysis
4.1
Content
What is exploratory data analysis?
First look at the data
Numeric vs categorical variables
Numeric variables
Categorical variables
Customizing visualizations
4.2
Summary
Functions list
4.3
Exercises
II ADVANCED DATA MANIPULATION
5
Key Programming Concepts
5.1
Content
Control flow statements
For loops
If statements
Functions
Sapply
5.2
Summary
Functions list
5.3
Exercises
6
Data Manipulation
6.1
Content
Reading the data
The pipe operator
Dataset manipulation
Reshaping data
Joining
Aggregating data
6.2
Summary
Functions list
6.3
Exercises
7
Data Visualization
7.1
Content
The plotting syntax
All about geoms - plot types in ggplot2
Multiple plots
Customizing plots
Saving plots
7.2
Summary
Functions list
7.3
Exercises
III DATA ANALYSIS
8
Statistical Inference and Association
8.1
Content
Comparing means
Relationship between two continuous variables
Further details
8.2
Summary
Functions list
8.3
Exercises
9
Linear Regression
9.1
Content
Introduction
Bivariate Linear Regression
Multiple Linear Regression
9.2
Summary
Functions list
9.3
Exercises
9.4
References
10
Logistic Regression
10.1
Content
Logit - The Intuition
Logit - The Estimation
Logit - The Output
Logit - Interpreting the Coefficients
Logit - Model Fit
10.2
Summary
Functions list
10.3
Exercises
IV ADVANCED TOPICS
11
R Markdown
11.1
Content
Introduction
Usage
The Components of an R Markdown Document
Figures and Graphs
Useful Stuff
Bibliography
stargazer
11.2
Summary
Functions list
11.3
Exercises
12
Course summary
Index of functions used throughout the course
Analysing Quantitative Data with R
12
Course summary
Index of functions used throughout the course