10-Chapter Guide

R for Statistical Computing & Analytics

A hands-on guide for graduate students in statistics, business analytics, and operations research. From first install to a complete reproducible analysis pipeline.

Chapters

Chapter 1

Getting Started

Install R & RStudio, navigate the IDE, manage packages, and write your first script.

Chapter 2

Data Structures

Vectors, matrices, data frames, lists, and factors. Master indexing and inspection.

Chapter 3

Data Wrangling with tidyverse

Transform, reshape, and summarize data with dplyr and tidyr pipes.

Chapter 4

Data Visualization with ggplot2

Build layered graphics: scatterplots, bar charts, histograms, facets, and themes.

Chapter 5

Statistical Testing & Inference

t-tests, ANOVA, chi-squared, correlation, and confidence intervals in R.

Chapter 6

Linear Models

Fit and diagnose OLS regressions with lm(), broom, and stargazer.

Chapter 7

Generalized Linear Models

Logistic and Poisson regression via glm(), odds ratios, and model comparison.

Chapter 8

Machine Learning with tidymodels

Recipes, workflows, cross-validation, tuning, and evaluation metrics.

Chapter 9

Reproducible Research

R Markdown and Quarto for literate programming, reports, and presentations.

Chapter 10

Project: Statistical Report Pipeline

End-to-end analysis: import, clean, visualize, model, and render a polished report.

Official Resources

R for Data Science (2e) External

Hadley Wickham & Garrett Grolemund's comprehensive introduction to data science with R.

CRAN External

The Comprehensive R Archive Network. Download R and browse 20,000+ packages.

ggplot2 Documentation External

Official reference for the grammar-of-graphics plotting system.

tidyverse.org External

Hub for the tidyverse collection of packages for data science.