https://github.com/uodatascience/R_Guide" />
1
Lessons
2
Introduction
2.1
Installing R and R Studio
2.2
Getting help
3
What is R?
3.1
Objects
3.2
Functions
3.3
Packages
3.4
Some useful basic syntax
4
Objects
4.1
What are Objects?
4.1.1
Object terminology
4.2
Objects in R
4.2.1
Object Systems
4.2.2
Attributes
4.3
Base Types
4.3.1
Vectors
4.3.2
Matrices & Arrays
4.3.3
Data Frames
4.3.4
Etc.
4.4
S3 Objects
4.4.1
Example: Extending S3 Objects
4.5
S4 Objects
4.6
Reference Classes
4.7
References
5
Data
5.1
Loading
5.1.1
One day we will have a summary table here
5.1.2
.csv files
5.1.3
Defaults
5.1.4
A brief interlude into formats for data in R
5.1.5
Format issues?
5.1.6
.sav files
5.1.7
rio
for general import
5.2
Saving
5.2.1
.RData files
5.2.2
sink
5.3
Indexing
5.3.1
Logical indexing
5.3.2
Assignment with Indexing
5.4
Basic Manipulation
5.5
Piping Syntax
5.5.1
Why use pipes?
5.5.2
Saving the output of your pipe
5.6
Reshaping
5.6.1
Wide vs. Long Data
5.6.2
Wide to Long
5.6.3
Long to wide
5.6.4
Final note on reshaping data
5.7
Summarizing
5.7.1
Basic Summarization
5.7.2
Grouped Summarization
5.7.3
Mutation
5.8
Type-specific Operations
5.8.1
Working with Factors
5.9
Resources
6
Plotting
6.1
R Graphics Structure
6.2
Base graphics
6.3
ggplot2
6.3.1
Layers
6.3.2
(aes)thetic mappings
6.3.3
Geoms & Stats
6.3.4
Position
6.3.5
Scales
6.3.6
Facets
6.3.7
Coordinate Systems
6.3.8
Themes
6.3.9
Extensions
6.4
Lattice
6.5
Rendering
6.5.1
Using Graphics Engines
6.5.2
ggsave
6.6
Grid
6.7
References
7
Control Flow
7.1
For Loops
7.2
While Loops
7.3
If/Then Statements
7.4
Apply functions
8
Functions
8.1
Form
8.2
Environments and Scoping
8.2.1
Function Environments
8.2.2
Querying environments
8.3
Arguments
8.4
Todo:
9
Useful Functions
9.1
RStudio Keyboard Shortcuts
9.2
Workspace
9.3
Objects
9.4
Functions
9.5
Iteration
10
Style Tips
10.1
NOTHING HERE EXCEPT A REMINDER TO JONNY THAT THEY SHOULD MAKE THIS PAGE
11
How do I…
11.1
YEEEEEEEP SAME THING HERE NOTHING BUT A SLIM BREEZE WHISTLING THROUGH YER EARWELLS, THE TICKLE TELLS YA IT DONT EXIST YET
12
Resources
R Guide Index
10
Style Tips
10.1
NOTHING HERE EXCEPT A REMINDER TO JONNY THAT THEY SHOULD MAKE THIS PAGE