Week 1: Background, Getting Started, and Nuts & Bolts-Background Material
Welcome to R Programming
About the Instructor
Pre-Course Survey
Syllabus
Course Textbook
Course Supplement: The Art of Data Science
Data Science Podcast: Not So Standard Deviations
Installing R on a Mac
()
Installing R on Windows
()
Installing R Studio (Mac)
()
Writing Code / Setting Your Working Directory (Windows)
()
Writing Code / Setting Your Working Directory (Mac)
()
Week 1: Background, Getting Started, and Nuts & Bolts-Week 1: Getting Started and R Nuts and Bolts
Getting Started and R Nuts and Bolts
Introduction
()
Overview and History of R
()
Getting Help
()
R Console Input and Evaluation
()
Data Types - R Objects and Attributes
()
Data Types - Vectors and Lists
()
Data Types - Matrices
()
Data Types - Factors
()
Data Types - Missing Values
()
Data Types - Data Frames
()
Data Types - Names Attribute
()
Data Types - Summary
()
Reading Tabular Data
()
Reading Large Tables
()
Textual Data Formats
()
Connections: Interfaces to the Outside World
()
Subsetting - Basics
()
Subsetting - Lists
()
Subsetting - Matrices
()
Subsetting - Partial Matching
()
Subsetting - Removing Missing Values
()
Vectorized Operations
()
Week 1: Background, Getting Started, and Nuts & Bolts-Practical R Exercises in swirl
Introduction to swirl
()
Practical R Exercises in swirl Part 1
Week 2: Programming with R-Week 2
Week 2: Programming with R
Control Structures - Introduction
()
Control Structures - If-else
()
Control Structures - For loops
()
Control Structures - While loops
()
Control Structures - Repeat, Next, Break
()
Your First R Function
()
Functions (part 1)
()
Functions (part 2)
()
Scoping Rules - Symbol Binding
()
Scoping Rules - R Scoping Rules
()
Scoping Rules - Optimization Example (OPTIONAL)
()
Coding Standards
()
Dates and Times
()
Week 2: Programming with R-Practical R Exercises in swirl
Practical R Exercises in swirl Part 2
Week 2: Programming with R-Programming Assignment
Programming Assignment 1 INSTRUCTIONS: Air Pollution
Week 3: Loop Functions and Debugging-Week 3
Week 3: Loop Functions and Debugging
Loop Functions - lapply
()
Loop Functions - apply
()
Loop Functions - mapply
()
Loop Functions - tapply
()
Loop Functions - split
()
Debugging Tools - Diagnosing the Problem
()
Debugging Tools - Basic Tools
()
Debugging Tools - Using the Tools
()
Week 3: Loop Functions and Debugging-Practical R Exercises in swirl
Practical R Exercises in swirl Part 3
Week 4: Simulation & Profiling-Week 4
Week 4: Simulation & Profiling
The str Function
()
Simulation - Generating Random Numbers
()
Simulation - Simulating a Linear Model
()
Simulation - Random Sampling
()
R Profiler (part 1)
()
R Profiler (part 2)
()
Week 4: Simulation & Profiling-Practical R Exercises in swirl
Practical R Exercises in swirl Part 4
Week 4: Simulation & Profiling-Programming Assignment
Programming Assignment 3 INSTRUCTIONS: Hospital Quality
Week 4: Simulation & Profiling-Post-Course Survey
Post-Course Survey