Introduction
  • Ten Things You Will Learn in This Course
Getting started
  • Intro
  • Downloading and installing R & RStudio
  • Quick guide to the RStudio user interface
  • RStudio's GUI
  • Changing the appearance in RStudio
  • Installing packages in R and using the library
The building blocks of R
  • Creating an object in R
  • Exercise 1 Creating an object in R
  • Data types in R - Integers and doubles
  • Data types in R - Characters and logicals
  • Objects and Data Types
  • Exercise 2 Data types in R
  • Coercion rules in R
  • Exercise 3 Coercion rules in R
  • Functions in R
  • Exercise 4 Using functions in R
  • Functions and arguments
  • Exercise 5 The arguments of a function
  • Building a function in R (basics)
  • Objects and Functions
  • Exercise 6 Building a function in R
  • Using the script vs. using the console
Vectors and vector operations
  • Intro
  • Introduction to vectors
  • Vector recycling
  • Exercise 7 Vector recycling
  • Naming a vector in R
  • Exercise 8 Vector attributes - names
  • Introduction to vectors
  • Getting help with R
  • Getting Help with R
  • Slicing and indexing a vector in R
  • Extracting elements from a vector
  • Exercise 9 Indexing and slicing a vector
  • Changing the dimensions of an object in R
  • Exercise 10 Vector attributes - dimensions
Matrices
  • Creating a matrix in R
  • Faster code: creating a matrix in a single line of code
  • Creating a matrix
  • Exercise 11 Creating a matrix in R
  • Do matrices recycle?
  • Indexing an element from a matrix
  • Slicing a matrix in R
  • Exercise 12 Indexing and slicing a matrix
  • Matrix arithmetic
  • Exercise 13 Matrix arithmetic
  • Matrix operations in R
  • Matrix operations
  • Exercise 14 Matrix operations
  • Categorical data
  • Creating a factor in R
  • Factors in R
  • Exercise 15 Creating a factor in R
  • Lists in R
  • Exercise: Lists in R
  • Completed 33% of the course
Fundamentals of programming with R
  • Relational operators in R
  • Logical operators in R
  • Vectors and logicals operators
  • Relational and Logical operators in R
  • Exercise Logical operators
  • If, else, else if statements in R
  • Exercise If, else, else if statements in R
  • If, else, else if statements - Keep-In-Mind's
  • For loops in R
  • Exercise: For Loops in R
  • While loops in R
  • Exercise: While loops in R
  • Repeat loops in R
  • Loops in R
  • Building a function in R 2.0
  • Building a function in R 2.0 - Scoping
  • Exercise Scoping
  • Completed 50% of the course
Data frames
  • Intro
  • Creating a data frame in R
  • Exercise 16 Creating a data frame in R
  • The Tidyverse package
  • Data import in R
  • Importing a CSV in R
  • Data export in R
  • Exercise 17 Importing and exporting data in R
  • Creating data frames
  • Getting a sense of your data frame
  • Indexing and slicing a data frame in R
  • Data frame operations
  • Extending a data frame in R
  • Exercise 18 Data frame operations
  • Dealing with missing data in R
Manipulating data
  • Intro
  • Data transformation with R - the Dplyr package - Part I