IntroToProgrammingWithR / 2020-spring-stat33ab

Notes from STAT 33A and STAT 33B at UC Berkeley in Spring 2020.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction to (Advanced) Programming with R

This repository contains notes from:

  • STAT 33A: Introduction to Programming with R
  • STAT 33B: Introduction to Advanced Programming with R

I taught both simultaneously at UC Berkeley in Spring Semester 2020.

Also see my teaching notes repository. For more info, send me an email.

STAT 33A

Syllabus and lecture notes:

Week Notes Video Topics
1 Jan 20 - No lecture (Martin Luther King, Jr. Day)
2 Jan 27 - Syllabus; R Syntax; RMarkdown
3 Feb 03 - Types; Special values; Vectorization
4 Feb 10 - No lecture (cancelled)
5 Feb 17 - No lecture (Presidents' Day)
6 Feb 24 - Paths; Data frames
7 Mar 02 - dplyr; Graphics with ggplot2
8 Mar 09 Link Exploratory data analysis
9 Mar 16 Link Subsets
Mar 23 - No lecture (Spring Break)
10 Mar 30 Link Reshaping data; Merging data
11 Apr 06 Link Writing functions; Conditionals
12 Apr 13 Link Apply functions
13 Apr 20 Link Iteration
14 Apr 27 Link Code Organization

An @berkeley.edu account is required to view the videos.

STAT 33B

Syllabus and lecture notes:

Week Notes Video Topics
1 Jan 22 - Syllabus; R syntax; Vectorization
2 Jan 29 - Types; Data frames; S3 classes; Attributes
3 Feb 05 - Subsets: [, [[, $, and subset
4 Feb 12 - Graphics: plot, lattice, ggplot2
5 Feb 19 - ggplot2; Reshaping data
6 Feb 26 - Merging data
7 Mar 04 - Control Flow; Apply functions
8 Mar 11 Link Functions; Lazy evaluation
9 Mar 18 Link Scoping; Closures; Environments
Mar 25 - No lecture (Spring Break)
10 Apr 01 Link R idioms; R gotchas
11 Apr 08 Link Warnings & errors; Debugging
12 Apr 15 Link Object Systems: S3, S4
13 Apr 22 Link Profiling
14 Apr 29 Link Non-standard Evaluation

An @berkeley.edu account is required to view the videos.

About

Notes from STAT 33A and STAT 33B at UC Berkeley in Spring 2020.


Languages

Language:R 100.0%