Section 1 Review
RStudio environment:
- Console, Source
- File, setwd(), getwd()
- Environment, History, Plots
- Packages, Help
R Class, R Objects
Types of R Class
- Integer, Double, Logical, Character
Vector
Vector operations
Testing:
is.*
Coercion:
as.*
Implicit, Explicit, Non-sensical coercion
Missing values
Operation with missing values
R Functions
R Help
Factor: Categorical & Ordinal
Factor Operations
Matrix
Array
Dataframe
List
Table
Read, Write, Save R objects
Read, Write, Save data
R housekeeping
Operation on vector, matrix, array, data.frame
Subsetting/Indexing on vector, matrix, array, data.frame, list
Data management
- Select Columns
- Filter Rows
- Arrange Columns
- Rename Rows & Columns
- Apply Functions
Reshape data
Combine data
- Combine Rows
- Combine Columns
Merge data
Functions
- Structure
- Arguments
- Writing functions
Control structure
- if
- for
- while, next, break
apply family
- apply
- tapply
- lapply, sapply
- split & apply