grafify: Easy Graphs for Data Visualisation and Linear Models for ANOVA

Easily explore data by plotting graphs with a few lines of code. Use these ggplot() wrappers to quickly draw graphs of scatter/dots with box-whiskers, violins or SD error bars, data distributions, before-after graphs, factorial ANOVA and more. Customise graphs in many ways, for example, by choosing from colour blind-friendly palettes (12 discreet, 3 continuous and 2 divergent palettes). Use the simple code for ANOVA as ordinary (lm()) or mixed-effects linear models (lmer()), including randomised-block or repeated-measures designs, and fit non-linear outcomes as a generalised additive model (gam) using mgcv(). Obtain estimated marginal means and perform post-hoc comparisons on fitted models (via emmeans()). Also includes small datasets for practising code and teaching basics before users move on to more complex designs. See vignettes for details on usage <>. Citation: <doi:10.5281/zenodo.5136508>.

Version: 4.0.1
Depends: R (≥ 4.0), ggplot2 (≥ 3.4.0)
Imports: car, emmeans, Hmisc, lme4, lmerTest, magrittr, mgcv, patchwork, purrr, stats, tidyr
Suggests: dplyr, knitr, Matrix (≥ 1.6-5), rlang, rmarkdown, pbkrtest, testthat (≥ 3.0.0)
Published: 2024-02-25
DOI: 10.32614/CRAN.package.grafify
Author: Avinash R Shenoy ORCID iD [cre, aut]
Maintainer: Avinash R Shenoy <a.shenoy at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Language: en-GB
Citation: grafify citation info
Materials: NEWS
CRAN checks: grafify results


Reference manual: grafify.pdf


Package source: grafify_4.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): grafify_4.0.1.tgz, r-oldrel (arm64): grafify_4.0.1.tgz, r-release (x86_64): grafify_4.0.1.tgz, r-oldrel (x86_64): grafify_4.0.1.tgz
Old sources: grafify archive


Please use the canonical form to link to this page.