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 <https://grafify-vignettes.netlify.app/>. 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
[cre, aut] |
Maintainer: |
Avinash R Shenoy <a.shenoy at imperial.ac.uk> |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: |
https://github.com/ashenoy-cmbi/grafify |
NeedsCompilation: |
no |
Language: |
en-GB |
Citation: |
grafify citation info |
Materials: |
NEWS |
CRAN checks: |
grafify results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=grafify
to link to this page.