Extensions to 'ggplot2' respecting the grammar of graphics
paradigm. Statistics to locate and tag peaks and valleys and to label plots
with the equation of a fitted polynomial model by ordinary least squares,
major axis, quantile and robust and resistant regression approaches. Line
and model equation for Normal mixture models. Labels for P-value,
R^2 or adjusted R^2 or information criteria for fitted models; parametric
and non-parametric correlation; ANOVA table or summary table for fitted
models as plot insets; annotations for multiple pairwise
comparisons with adjusted P-values. Model fit classes for which suitable
methods are provided by package 'broom' and 'broom.mixed' are supported as
well as user-defined wrappers on model fit functions, allowing model
selection and conditional labelling. Scales and stats to
build volcano and quadrant plots based on
outcomes, fold changes, p-values and false discovery rates.
| Version: |
0.7.0 |
| Depends: |
R (≥ 4.1.0), ggpp (≥ 0.6.0) |
| Imports: |
grid, stats, ggplot2 (≥ 3.5.0), scales (≥ 1.3.0), rlang (≥
1.1.5), generics (≥ 0.1.4), polynom (≥ 1.4-1), confintr (≥
1.0.2), splus2R (≥ 1.3-5), tibble (≥ 3.3.1), plyr (≥ 1.8.9), dplyr (≥ 1.1.4), tidyr (≥ 1.3.0), lubridate (≥ 1.9.5), caTools (≥ 1.18.3), quantreg (≥ 6.1) |
| Suggests: |
broom (≥ 1.0.10), broom.mixed (≥ 0.2.9.5), robustbase (≥
0.99-4-1), MASS (≥ 7.3-60), lmodel2 (≥ 1.7-4), nlme (≥
3.1-166), smatr (≥ 3.4-8), multcomp (≥ 1.4-30), multcompView (≥ 0.1-11), mixtools (≥ 2.0.0.1), segmented (≥ 2.2-1), gginnards (≥ 0.2.0), ggrepel (≥ 0.9.8), ggtext (≥ 0.1.2), xdvir (≥ 0.1.2), marquee (≥ 1.2.1), knitr (≥ 1.50), rmarkdown (≥ 2.28), testthat, vdiffr |
| Published: |
2026-03-23 |
| DOI: |
10.32614/CRAN.package.ggpmisc |
| Author: |
Pedro J. Aphalo
[aut, cre],
Kamil Slowikowski
[ctb],
Samer Mouksassi
[ctb] |
| Maintainer: |
Pedro J. Aphalo <pedro.aphalo at helsinki.fi> |
| BugReports: |
https://github.com/aphalo/ggpmisc/issues |
| License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: |
https://docs.r4photobiology.info/ggpmisc/,
https://github.com/aphalo/ggpmisc |
| NeedsCompilation: |
no |
| Materials: |
README, NEWS |
| CRAN checks: |
ggpmisc results |