The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

ggchangepoint: Combines Changepoint Analysis with 'ggplot2'

A unified, tidy, 'ggplot2'-native interface to changepoint detection in R. Provides the 'ggcpt' S3 result class with 'broom'-style tidy/glance/augment methods, 'autoplot()' (with confidence intervals, fitted signals, and multivariate facets), composable geoms ('geom_changepoint()', 'geom_cpt_segment()', 'geom_cpt_ci()', 'stat_changepoint()'), and a 'cpt_detect()' dispatcher covering over thirty methods with introspection via 'cpt_methods()': penalised/optimal partitioning (PELT, BinSeg, SegNeigh, AMOC, FPOP, CROPS penalty paths, 'fastcpd', change-in-slope via 'cpop'), multiscale and search methods (WBS, WBS2, NOT, MOSUM, Isolate-Detect, TGUH, SMUCE/HSMUCE with confidence intervals), nonparametric and kernel methods ('changepoint.np', 'ecp', 'kcpRS', 'CptNonPar', sequential 'cpm', self-normalisation via 'SNSeg'), Bayesian methods ('bcp', online 'ocp', 'Rbeast'), high-dimensional and multivariate methods ('InspectChangepoint', 'ocd', 'changepoint.geo'), regression breaks ('strucchange', 'segmented', 'EnvCpt'), and robust detection under drift and autocorrelation ('DeCAFS'). Also includes method comparison, batch/panel detection, bootstrap stability diagnostics, accuracy metrics, Bayesian posterior and run-length plots, interactive rendering, data simulation with canonical test signals, and per-method citations.

Version: 0.4.0
Imports: changepoint, changepoint.np, dplyr, ecp, generics, ggplot2 (≥ 3.4.0), lifecycle, Rdpack, stats, tibble, utils
Suggests: rmarkdown, knitr, testthat (≥ 3.0.0), wbs, breakfast, not, mosum, fpop, IDetect, stepR, cpop, bcp, ocp, Rbeast, cpm, kcpRS, CptNonPar, DeCAFS, SNSeg, InspectChangepoint, ocd, changepoint.geo, strucchange, segmented, EnvCpt, fastcpd, plotly, future, future.apply
Published: 2026-08-24
DOI: 10.32614/CRAN.package.ggchangepoint
Author: Youzhi Yu [aut, cre]
Maintainer: Youzhi Yu <yuyouzhi666 at icloud.com>
BugReports: https://github.com/PursuitOfDataScience/ggchangepoint/issues
License: GPL (≥ 3)
URL: https://pursuitofdatascience.github.io/ggchangepoint/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ggchangepoint results

Documentation:

Reference manual: ggchangepoint.html , ggchangepoint.pdf
Vignettes: Comparing and Evaluating Changepoint Methods with ggchangepoint (source, R code)
The ggchangepoint Feature Tour: A Complete Map of the Package Surface (source, R code)
ggchangepoint: A Unified Tidy Interface for Changepoint Analysis in R (source, R code)

Downloads:

Package source: ggchangepoint_0.4.0.tar.gz
Windows binaries: r-devel: ggchangepoint_0.4.0.zip, r-release: ggchangepoint_0.3.0.zip, r-oldrel: ggchangepoint_0.3.0.zip
macOS binaries: r-release (arm64): ggchangepoint_0.4.0.tgz, r-oldrel (arm64): ggchangepoint_0.4.0.tgz, r-release (x86_64): ggchangepoint_0.4.0.tgz, r-oldrel (x86_64): ggchangepoint_0.4.0.tgz
Old sources: ggchangepoint archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ggchangepoint to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.