R provides fantastic tools for changepoint analysis, but plots generated by the tools do not have the 'ggplot2' style. This tool, however, combines 'changepoint', 'changepoint.np' and 'ecp' together, and uses 'ggplot2' to visualize changepoints. It provides a unified 'ggcpt' S3 result class, 'broom'-style tidy/glance/augment methods, 'autoplot()', composable geoms ('geom_changepoint()', 'geom_cpt_segment()', 'geom_cpt_ci()', 'stat_changepoint()'), a unified 'cpt_detect()' dispatcher with method introspection via 'cpt_methods()', wrappers for several optional engines (WBS, WBS2, NOT, MOSUM, FPOP, Isolate-Detect, TGUH), a method comparison module, accuracy metrics, data simulation, and canonical test signals.
| Version: | 0.3.0 |
| Imports: | changepoint, changepoint.np, dplyr, ecp, generics, ggplot2 (≥ 3.4.0), lifecycle, Rdpack, tibble, utils |
| Suggests: | rmarkdown, knitr, testthat (≥ 3.0.0), wbs, breakfast, not, mosum, fpop, IDetect, future, future.apply |
| Published: | 2026-06-26 |
| 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 |
| Package source: | ggchangepoint_0.3.0.tar.gz |
| Windows binaries: | r-devel: ggchangepoint_0.2.0.zip, r-release: ggchangepoint_0.2.0.zip, r-oldrel: ggchangepoint_0.2.0.zip |
| macOS binaries: | r-release (arm64): ggchangepoint_0.3.0.tgz, r-oldrel (arm64): ggchangepoint_0.3.0.tgz, r-release (x86_64): ggchangepoint_0.3.0.tgz, r-oldrel (x86_64): ggchangepoint_0.3.0.tgz |
| Old sources: | ggchangepoint archive |
Please use the canonical form https://CRAN.R-project.org/package=ggchangepoint to link to this page.