ggpmisc: An R package

Research output: Non-textual formSoftwareScientific


Functions try_data_frame() and try_tibble() can be used to convert time series objects into data frames or tibbles suitable for plotting. To complement these functions ggplot methods for "ts" and "xts" classes are defined.

Different statistics, geometries and functions add facilities for labelling peaks and valleys, generating labels for fitted models including polynomial equations, highlighting deviations from a model fit, and for filtering-out regions of plot panels with high densities of observations (with stats designed to work nicely together with package 'ggrepel').

Another group of ggplot statistics and geometries which echo their input aim at easing debugging during development of new geoms and statistics (or learning how they work).

Original languageEnglish
Publication statusPublished - 30 Jan 2016
MoE publication typeI2 ICT software

Bibliographical note

Published in the Comprehensive R Archive Network (CRAN), mirrored worldwide.

Fields of Science

  • 112 Statistics and probability
  • data analysis
  • plotting
  • graphics
  • R
  • ggplot2
  • time series
  • peaks
  • fitted models
  • plot annotations

Cite this