R / RStudio Guide and Function Reference
Overview
This document is a comprehensive reference for the primary R tools used in STAT 350. It introduces R and RStudio, outlines the workflow we use in class, and provides an enhanced reference to the functions, libraries, and plotting layers that appear across the computer assignments and worksheets. The emphasis is on: loading data; validating and cleaning; visualizing; computing summaries; fitting models; checking assumptions; and performing inference with well-annotated code.
Use this as a companion to the assignment tutorials (linked below).
R Guide Contents:
- Getting Started with R and RStudio
- Quick Reference Table
- Computer Assignments and Tutorials
- Assignment Tutorials (Links)
- Course Pipeline (At a Glance)
- Function Reference Part 1
- Function Reference Part 2: Inference Functions
- Graphics (ggplot2)
- Core Components
- Geoms (Geometric Objects)
- Categorical Data Visualization
- Plot Customization
- Tables & Reporting
- Best Practices & Common Pitfalls
- Course Datasets