Learn R Programming

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

ggpmisc (version 0.2.8)

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

15,464

Version

0.2.8

License

GPL (>= 3)

Maintainer

Pedro Aphalo

Last Published

May 22nd, 2016

Functions in ggpmisc (0.2.8)

stat_poly_eq

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

Diagnosis statistics on data grouping.
stat_fit_residuals

Return residuals from a model fir.
geom_debug

Debug, printing to console
stat_peaks

Find peaks and valleys.
stat_debug_panel

Diagnosis statistics on data in panels.
find_peaks

Find local maxima (peaks)
geom_null

Null geom
GeomNull

Stat* Objects
stat_fit_deviations

Display residuals from fit as segments.
try_data_frame

Convert an R object to a data frame
ggpmisc-package

Miscellaneous Extensions to 'ggplot2'
stat_fit_augment

Return the data augmented with fitted values and statistics.
stat_fit_glance

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