Detects multiple changes in slope using the CPOP dynamic programming approach of Fearnhead, Maidstone, and Letchford (2019) <doi:10.1080/10618600.2018.1512868>. This method finds the best continuous piecewise linear fit to data under a criterion that measures fit to data using the residual sum of squares, but penalizes complexity based on an L0 penalty on changes in slope. Further information regarding the use of this package with detailed examples can be found in Fearnhead and Grose (2024) <doi:10.18637/jss.v109.i07>.
| Version: | 1.0.8 |
| Depends: | R (≥ 4.1.0), crops, pacman |
| Imports: | Rdpack, Rcpp (≥ 0.12.13), ggplot2, mathjaxr, pracma, methods |
| LinkingTo: | Rcpp |
| Suggests: | testthat |
| Published: | 2025-06-11 |
| DOI: | 10.32614/CRAN.package.cpop |
| Author: | Daniel Grose [aut, cre], Paul Fearnhead [aut] |
| Maintainer: | Daniel Grose <dan.grose at lancaster.ac.uk> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | yes |
| Citation: | cpop citation info |
| Materials: | NEWS |
| CRAN checks: | cpop results |
| Reference manual: | cpop.html , cpop.pdf |
| Package source: | cpop_1.0.8.tar.gz |
| Windows binaries: | r-devel: cpop_1.0.8.zip, r-release: cpop_1.0.8.zip, r-oldrel: cpop_1.0.8.zip |
| macOS binaries: | r-release (arm64): cpop_1.0.8.tgz, r-oldrel (arm64): cpop_1.0.8.tgz, r-release (x86_64): cpop_1.0.8.tgz, r-oldrel (x86_64): cpop_1.0.8.tgz |
| Old sources: | cpop archive |
Please use the canonical form https://CRAN.R-project.org/package=cpop to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.