Learn R Programming

⚠️There's a newer version (0.6.3) of this package.Take me there.

Package ggpmisc is a small set of extensions to ggplot2 (>= 2.0.0) which I hope will be useful when plotting diverse types of data and/or debugging ggplot plots.

Extensions:

  • Function for conversion of time series data into data frames that can be

plotted with ggplot.

  • Stats for locating and tagging "peaks" and "valleys" (local or global maxima

and minima).

  • Stat for generating labels from a lm() model fit, including formatted

equation.

  • Debug stats and a geom that print to the console their data input.

Please, see the web site R4Photobiology for details and update notices. Other packages, aimed at easing photobiology-related calculations including the quantification of biologically effective radiation in meteorology are available as part of a suite described at the same website.

The current release of ggpmisc is available through CRAN for R (>= 3.2.0).

Copy Link

Version

Install

install.packages('ggpmisc')

Monthly Downloads

15,360

Version

0.2.9

License

GPL (>= 3)

Maintainer

Pedro Aphalo

Last Published

June 18th, 2016

Functions in ggpmisc (0.2.9)

stat_fit_augment

Return the data augmented with fitted values and statistics.
stat_debug_panel

Diagnosis statistics on data in panels.
find_peaks

Find local maxima (peaks)
GeomNull

Stat* Objects
ggpmisc-package

Miscellaneous Extensions to 'ggplot2'
geom_null

Null geom
stat_fit_glance

Return one row summary data frame for a fitted linear model.
stat_debug_group

Diagnosis statistics on data grouping.
stat_fit_deviations

Display residuals from fit as segments.
geom_debug

Debug, printing to console
stat_poly_eq

Add a label for a fitted linear model to a plot.
stat_peaks

Find peaks and valleys.
stat_fit_residuals

Return residuals from a model fir.
try_data_frame

Convert an R object to a data frame