R Biostatistics Cheat Sheets

Free, original R cheat sheets for clinical tables, regression, survival, missing data, mixed models, scale development, causal inference and clinical trials.

Twelve concise, code-first references for clinical research and reproducible biostatistics. Every PDF is free to download and includes review checks, reporting guidance and runnable R patterns.

12 references

Preview of the gtsummary clinical tables cheat sheet
Reporting · Intermediate

gtsummary clinical tables

Table 1, regression tables, survival summaries, composition and export.

Preview of the clinical regression cheat sheet
Models · Intermediate

Clinical regression

Choose an outcome model, encode predictors, diagnose fit and report effects.

Preview of the survival analysis cheat sheet
Clinical · Intermediate

Survival analysis

Kaplan-Meier, log-rank, Cox models, proportional hazards and censoring.

Preview of the diagnostic accuracy cheat sheet
Clinical · Intermediate

Diagnostic accuracy

2 × 2 metrics, predictive values, likelihood ratios, ROC curves and bias.

Preview of the effect sizes and reporting cheat sheet
Reporting · Beginner

Effect sizes & reporting

Match effects to designs and pair estimates with confidence intervals.

Preview of the missing data cheat sheet
Study design · Advanced

Missing data

Audit missingness, configure MICE, pool models and run MNAR sensitivity checks.

Preview of the mixed models cheat sheet
Models · Advanced

Mixed models

Random effects, marginal means, clustered outcomes and model diagnostics.

Preview of the power and sample size cheat sheet
Study design · Intermediate

Power & sample size

Design inputs, attrition, cluster inflation, sensitivity grids and simulation.

Preview of the repeated measures cheat sheet
Models · Intermediate

Repeated measures

Paired tests, baseline-adjusted ANCOVA, longitudinal models and missing visits.

Preview of the clinical trial analysis cheat sheet
Clinical · Advanced

Clinical trial analysis

Estimands, analysis sets, adjusted effects, subgroups and sensitivity analyses.

Preview of the scale development and validation cheat sheet
Measurement · Advanced

Scale development & validation

Item audits, polychoric correlations, EFA, ordinal CFA, reliability and scoring.

Preview of the causal inference cheat sheet
Study design · Advanced

Causal inference

Target trials, DAG logic, positivity, IPTW, balance and standardization.

Need the analysis behind the reference?

These sheets are compact by design. For study-specific modelling, validation and reproducible reporting, see our clinical R services or start a conversation.