R - Introduction to Selected Topics
Preface
1
Base R
1.1
Overview
1.2
Introduction
1.3
The RStudio IDE
1.3.1
Opening RStudio
1.3.2
RStudio window
1.3.3
Console pane
1.3.4
Source / Editor pane
1.3.5
The other panes; Environment, History, Git, Files, Packages, Plots, Help
1.4
RStudio projects
1.4.1
Creating a project
1.4.2
Opening a project
1.5
Console Basics
1.6
Organizing projects
1.7
Running your code
1.7.1
Scripts
1.7.2
R Markdown files
1.8
Functions and parameters
1.9
Vectorized functions
1.10
Paths and working directories
1.11
Packages
2
Tidyverse
2.1
Overview
2.2
Tidyverse packages
2.2.1
Example
2.3
The pipe operator
2.3.1
Examples
2.4
Importing csv files and parsers
2.4.1
Examples
2.5
Tibble structure
2.6
Column operations
2.6.1
Examples
2.7
Modifying variables
2.7.1
Example
2.8
Subsetting rows
2.8.1
Examples
2.9
Grouping
2.9.1
Examples
2.10
Summarizing data
2.10.1
Examples
2.11
Reshaping data
2.11.1
Examples
2.12
Combining data sets
2.13
Getting help
3
Data Wrangling
3.1
Overview
3.2
Introduction
3.3
Data frames
3.4
Pipe operator
3.4.1
Examples
3.5
Column index
3.6
Creating/changing variables
3.7
Summarizing data
3.8
Selecting rows
3.9
Working with groups
3.10
Reshaping
3.11
Getting help
4
Regression
4.1
Overview
4.2
Specifying a model
4.2.1
Formula
4.3
Running regressions
4.3.1
Linear models - Ordinary Least Squares models (OLS)
4.3.2
Generalized linear models (GLM)
4.4
Variable selection functions
4.5
Diagnostics
4.6
Results
4.6.1
summary()
function
4.6.2
confint()
function
4.6.3
predict()
function
4.6.4
Extractors
R Introduction to Selected Topics
Supporting Statistical Analysis for Research
2
Tidyverse