depictr: A Unified Toolkit for Visualising Statistical Models and Data

A cohesive, publication-ready toolkit of plots that span the whole analysis workflow with one consistent look. It covers exploratory data analysis (distributions, categorical summaries, bivariate plots, scatter-plot matrices, correlation heatmaps, missing-data maps, outliers, estimation statistics and descriptive tables); multivariate analysis, clustering with diagnostics and Kaplan-Meier survival curves; time series (trends, autocorrelation, decomposition, seasonality and forecasting); model estimates and inference (forest plots, model comparison, frequentist and Bayesian estimates, predicted values, interactions, random effects and optimiser checks); diagnostics and classification (residual panels, binned residuals, influence, quantile-quantile, receiver operating characteristic (ROC) curves, calibration, threshold tuning and confusion matrices); uncertainty and power; and reporting helpers (a shared theme, colourblind-aware palettes, plot composition and saving). Every plotting function returns a 'ggplot2' object (or a 'patchwork' object for composite panels), heavier modelling back-ends are optional, and the package ships with reproducibly simulated datasets so that every example and vignette runs without further setup.

Version: 0.3.0
Depends: R (≥ 4.1.0)
Imports: ggplot2 (≥ 3.5.0), stringr, scales, patchwork (≥ 1.3.0), rlang, stats, grDevices, utils, Rdpack
Suggests: lme4, lmerTest, broom, simr, knitr, rmarkdown, survival, ggdist, posterior, boot, cluster, colorspace, testthat (≥ 3.0.0), withr
Published: 2026-09-01
DOI: 10.32614/CRAN.package.depictr (may not be active yet)
Author: Pablo Bernabeu ORCID iD [aut, cre]
Maintainer: Pablo Bernabeu <pcbernabeu at gmail.com>
BugReports: https://github.com/pablobernabeu/depictr/issues
License: MIT + file LICENSE
URL: https://pablobernabeu.github.io/depictr/, https://github.com/pablobernabeu/depictr
NeedsCompilation: no
Language: en-GB
Citation: depictr citation info
Materials: NEWS
CRAN checks: depictr results

Documentation:

Reference manual: depictr.html , depictr.pdf
Vignettes: Getting started with depictr (source, R code)
Diagnostics, classification and uncertainty (source, R code)
Exploring data (source, R code)
Visualising model estimates (source, R code)
Multivariate analysis and survival (source, R code)
Time series (source, R code)

Downloads:

Package source: depictr_0.3.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=depictr to link to this page.