Chapter 9 A guide to current swirl tutorials
Below are the names of the swirl tutorials which are most relevant to new R users, how to download them and the names of the units within each tutorial
9.1 Regression Models: The basics of regression modeling in R (Team swirl)
Installation:
::install_course("Regression Models") swirl
Units:
- Introduction
- Residuals
- Least Squares Estimation
- Residual Variation
- Introduction to Multivariable Regression
- MultiVar Examples
- MultiVar Examples2
- MultiVar Examples3
- Residuals Diagnostics and Variation
- Variance Inflation Factors
- Overfitting and Underfitting
- Binary Outcomes
- Count Outcomes
9.2 Statistical Inference: The basics of statistical inference in R (Team swirl)
Installation:
::install_course("Statistical Inference") swirl
Units:
- Introduction
- Probability1
- Probability2
- ConditionalProbability
- Expectations
- Variance
- CommonDistros
- Asymptotics
- T Confidence Intervals
- Hypothesis Testing
- P Values
- Power
- Multiple Testing
- Resampling
9.3 Exploratory Data Analysis: The basics of exploring data in R (Team swirl)
Installation
::install_course("Exploratory Data Analysis") swirl
- Principles of Analytic Graphs
- Exploratory Graphs
- Graphics Devices in R
- Plotting Systems
- Base Plotting System
- Lattice Plotting System
- Working with Colors
- GGPlot2 Part1
- GGPlot2 Part2
- GGPlot2 Extras
- Hierarchical Clustering
- K Means Clustering
- Dimension Reduction
- Clustering Example
- CaseStudy
9.4 Getting and Cleaning Data (Team swirl)
Installation
::install_course("Getting and Cleaning Data") swirl
Units 1: Manipulating Data with dplyr 1: Grouping and Chaining with dplyr 1: Tidying Data with tidyr 1: Dates and Times with lubridate
9.5 Advanced R Programming (Roger Peng)
::install_course("Advanced R Programming") swirl
- Setting Up Swirl
- Functions
- Functional Programming with purrr0
9.6 The R Programming Environment (Roger Peng)
::install_course("The R Programming Environment") swirl
- Setting Up Swirl
- Basic Building Blocks
- Sequences of Numbers
- Vectors
- Missing Values
- Subsetting Vectors
- Matrices and Data Frames
- Logic
- Workspace and Files
- Reading Tabular Data
- Looking at Data
- Data Manipulation
- Text Manipulation Functions
- Regular Expressions
- The stringr Package
9.7 Regular Expressions (Jon Calder)
Installation:
::install_course("Regular Expressions") swirl
Units
- Introduction
- Regex in base R
- Anchors
- Character Classes
- Groups and Ranges
- Quantifiers
- Applied Examples
9.8 A (very) short introduction to R (Claudia Brauer)
::install_course("A_(very)_short_introduction_to_R") swirl
The author notes: >“Thiscourse is based on a non-interactive tutorial with the same name, which can be downloaded from www.github.com/ClaudiaBrauer/A-very-short-introduction-to-R. The contents are the same (with a few exceptions), so you can open the pdf version alongside to look up how to do something you learned before or browse through the references on the last two pages.”
This tutorial has 3 modules. The first is introductory. The others get into more details tasks, such as sourceing .R file scripts.
9.9 R Programming: The basics of programming in R (team swirl)
- Basic Building Blocks
- Workspace and Files
- Sequences of Numbers
- Vectors
- Missing Values
- Subsetting Vectors
- Matrices and Data Frames
- Logic
- Functions
- lapply and sapply
- vapply and tapply
- Looking at Data
- Simulation
- Dates and Times
- Base Graphics
The key vocabulary, concepts and functions covered in this tutorial are:
- programming language
- variable
+
,-
,/
, and^
- sqrt()
- abs()
- assignment operator
- <-
- help files
- vector
- c() function (“concatenate”, “combine”)
- element wise operation (“element-by-element”)
- recycling
- vectorized operations (not discussed in those terms)
- up arrow to view command history
- tab completion (“auto-completion”)