ggpmisc: Miscellaneous Extensions to 'ggplot2'

Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Provides new statistics to locate and tag peaks and valleys in 2D plots, a statistics to add a label with the equation of a polynomial fitted with lm(), or R^2 or adjusted R^2 or information criteria for any model fitted with function lm(). Additional statistics give access to functions in package 'broom'. Provides a function for flexibly converting time series to data frames suitable for plotting with ggplot(). In addition provides statistics and ggplot geometries useful for diagnosing what data are passed to compute_group() and compute_panel() functions and to geometries.

Install the latest version of this package by entering the following in R:
AuthorPedro J. Aphalo [aut, cre], Kamil Slowikowski [ctb]
Date of publication2017-02-02 01:06:16
MaintainerPedro J. Aphalo <>
LicenseGPL (>= 2)

View on CRAN


find_peaks Man page
fit_augment_compute_group_fun Man page
fit_glance_compute_group_fun Man page
geom_debug Man page
GeomDebug Man page
geom_null Man page
GeomNull Man page
ggplot Man page
ggplot.ts Man page
ggplot.xts Man page
ggpmisc Man page
ggpmisc-package Man page
peaks_compute_group_fun Man page
poly_eq_compute_group_fun Man page
residuals_compute_group_fun Man page
stat_debug_group Man page
StatDebugGroup Man page
stat_debug_panel Man page
StatDebugPanel Man page
stat_dens2d_filter Man page
StatDens2dFilter Man page
stat_dens2d_filter_g Man page
StatDens2dFilterG Man page
stat_dens2d_labels Man page
StatDens2dLabels Man page
stat_fit_augment Man page
StatFitAugment Man page
stat_fit_deviations Man page
StatFitDeviations Man page
stat_fit_glance Man page
StatFitGlance Man page
stat_fit_residuals Man page
StatFitResiduals Man page
stat_peaks Man page
StatPeaks Man page
stat_poly_eq Man page
StatPolyEq Man page
Stats Man page
stat_valleys Man page
StatValleys Man page
try_data_frame Man page
try_tibble Man page
valleys_compute_group_fun Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.