Syllabus

  1. 01R BasicsRun your first R code and learn the building blocks: arithmetic, comments, data types, variables, vectors, logic, conditionals and functions.9 lessons
    1. 01Meet R
    2. 02Arithmetic and Comments
    3. 03Data Types
    4. 04Variables
    5. 05Vectors
    6. 06Comparisons and Logic
    7. 07Conditionals
    8. 08Functions and Packages
    9. 09Project: Rain Barrel Planner
  2. 02Data FramesStore tables in data frames, read them from CSV files, and select, filter, sort and extend them with base R.7 lessons
    1. 01Creating Data Frames
    2. 02Reading CSV Files
    3. 03Selecting Columns
    4. 04Filtering Rows
    5. 05Sorting Rows
    6. 06Adding and Renaming Columns
    7. 07Project: Farmers Market Sales
  3. 03Cleaning DataFind and fix the usual problems in real data: duplicated rows, missing values, numbers stored as text, messy strings and tables in the wrong shape.7 lessons
    1. 01Spotting Messy Data
    2. 02Duplicate Rows
    3. 03Missing Values
    4. 04Fixing Column Types
    5. 05Cleaning Text
    6. 06Reshaping Tables
    7. 07Project: Weather Station Cleanup
  4. 04Visualizing DataLearn how charts are built from data, aesthetics and geometries, how to read distributions and relationships, and how to compute in R the numbers every chart shows.3 lessons
    1. 01How Charts Are Built
    2. 02Looking at Distributions
    3. 03Looking at Relationships
  5. 05AggregatesSummarize whole columns and groups of rows: totals, averages, counts and proportions per category with table(), tapply(), aggregate() and ave().5 lessons
    1. 01Summarizing Columns
    2. 02Counting Values
    3. 03Summaries by Group
    4. 04Group Results in Every Row
    5. 05Project: Library Loans Report
  6. 06Joining TablesCombine information spread across several tables: match rows on a key with merge(), keep or drop unmatched rows, handle keys with different names, and stack tables with rbind().4 lessons
    1. 01Matching Rows with merge()
    2. 02Keeping Unmatched Rows
    3. 03Different Key Names and Stacking
    4. 04Project: Volunteer Shift Report
  7. 07Describing DataDescribe a dataset with numbers: its center (mean, median, mode) and its spread (variance, standard deviation, quantiles and the interquartile range).5 lessons
    1. 01The Mean
    2. 02Median and Mode
    3. 03Variance and Standard Deviation
    4. 04Quartiles, Quantiles and the IQR
    5. 05Project: Sleep Survey
  8. 08Hypothesis TestingDecide whether a difference in data is real or could be chance: null hypotheses, p-values and significance, error types, one- and two-sample t-tests and ANOVA.5 lessons
    1. 01Hypotheses and P-Values
    2. 02One-Sample T-Test
    3. 03Two-Sample T-Test
    4. 04Comparing Many Groups with ANOVA
    5. 05Project: Study Methods Experiment