Learn R Programming

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

ggpmisc (version 0.2.6)

Miscellaneous Extensions to 'ggplot2'

Description

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

Copy Link

Version

Install

install.packages('ggpmisc')

Monthly Downloads

17,326

Version

0.2.6

License

GPL (>= 3)

Maintainer

Pedro Aphalo

Last Published

February 25th, 2016

Functions in ggpmisc (0.2.6)

stat_peaks

Find peaks and valleys.
try_data_frame

Convert an R object to a data frame
find_peaks

Find local maxima (peaks)
StatDebugGroup

Stat* Objects
ggpmisc-package

Miscellaneous Extensions to 'ggplot2'
stat_poly_eq

Add a curve from a fitted linear model and a label to a plot.
stat_debug_panel

Diagnosis statistics on data in panels.
stat_debug_group

Diagnosis statistics on data grouping.