R Cheat Sheets

Downloadable reference cards for R programming, data wrangling, visualization, and statistics. Print them out or keep them open while you code.

Base R Essentials

Vectors, data frames, lists, functions, control flow (if/else, for, while), indexing, and common base R operations in one quick-reference card.

RBeginnerData Types

ggplot2 Quick Reference

All major geoms (point, line, bar, histogram, boxplot), aesthetic mappings, scales, themes, facets, and coordinate systems at a glance.

Rggplot2Visualization

dplyr Data Wrangling

filter(), select(), mutate(), summarise(), group_by(), arrange(), joins, and the pipe operator — everything you need for data manipulation.

Rdplyrtidyverse

tidyr Reshaping

pivot_longer(), pivot_wider(), separate(), unite(), nest(), unnest() — transform your data between wide and long formats with ease.

Rtidyrtidyverse

R Markdown

Markdown formatting, code chunk options (echo, eval, message, warning), inline R code, YAML headers, and output formats (HTML, PDF, Word).

RR MarkdownReports

Statistics Formulas

Mean, standard deviation, t-test, chi-square test, ANOVA, linear regression, confidence intervals, and p-value interpretation — all in one card.

StatisticsFormulasReference

Need help with R?

Rtuition is an interactive tutor that teaches you R programming and statistics using the Socratic method.

Try Rtuition Free