How I Use R
1
Introduction
2
Setting Myself up for Success
2.1
Software
2.1.1
Why I Don’t Work Just in R
2.1.2
Why I Use RStudo, not something like R Commander
2.1.3
RStudio Options
2.2
Code Style
2.2.1
Examples of other style guides
2.2.2
My style preferences
2.3
Working with Files
2.3.1
Directory organization
2.4
Packages
2.4.1
Where do I find packages?
2.4.2
How do I evaluate packages?
2.4.3
Why I Use the Tidyverse
2.5
Workflow
2.5.1
When to use .R vs .Rmd
2.5.2
Load all data at top
2.5.3
Add sections in R scripts to enable TOC
2.6
Git/GitHub
2.6.1
As compared to Google Drive, Dropbox, etc.
3
Working with Data
3.1
Importing Data
3.1.1
Why to use read_csv not read.csv
3.1.2
clean_names() function
3.1.3
Variable and value labels
3.1.4
Examining Data
3.2
Data Wrangling and Analysis
3.3
General Practices
4
Reporting Results with RMarkdown
4.1
General Practices
4.1.1
Naming Code Chunks
4.1.2
Use TOC
4.1.3
YAML
4.1.4
Parameterized reports
4.1.5
Misc
4.1.6
Tables
4.2
What Format I Knit To When
4.2.1
Word
4.2.2
PDF
4.2.3
HTML
5
Visualizing Data
5.1
Themes
5.2
Using Fonts in Plots
5.3
ggplot extensions
5.4
Formatting numbers etc
5.5
Mapping
5.5.1
General packages
5.5.2
Geocoding
5.5.3
Tables
6
What I Do When Things Go Wrong (and They Always Do)
6.1
Guides to getting help in R
7
Read More
R for the Rest of Us
How I Use R
7
Read More
https://whattheyforgot.org/