Learn R Programming

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

ggpmisc (version 0.2.7)

Miscellaneous Extensions to 'ggplot2'

Description

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(). Provides a function for flexibly converting time series to data frames suitable for plotting with ggplot(). In addition provides two statistics and two geometry useful for diagnosing what data are passed to compute_group() and compute_panel() functions and to geometries.

Copy Link

Version

Install

install.packages('ggpmisc')

Monthly Downloads

16,315

Version

0.2.7

License

GPL (>= 3)

Maintainer

Pedro Aphalo

Last Published

March 22nd, 2016

Functions in ggpmisc (0.2.7)

geom_null

Null geom
stat_peaks

Find peaks and valleys.
stat_debug_panel

Diagnosis statistics on data in panels.
try_data_frame

Convert an R object to a data frame
find_peaks

Find local maxima (peaks)
GeomNull

Stat* Objects
geom_debug

Debug, printing to console
stat_debug_group

Diagnosis statistics on data grouping.
stat_poly_eq

Add a curve from a fitted linear model and a label to a plot.
ggpmisc-package

Miscellaneous Extensions to 'ggplot2'