Package: cpop Type: Package Title: Detection of Multiple Changes in Slope in Univariate Time-Series Version: 1.0.9 Date: 2026-05-29 Maintainer: Daniel Grose Authors@R: c(person("Daniel", "Grose", role = c("aut", "cre"),email = "dan.grose@lancaster.ac.uk"), person("Paul", "Fearnhead", role = "aut",email = "p.fearnhead@lancaster.ac.uk")) Description: Detects multiple changes in slope using the CPOP dynamic programming approach of Fearnhead, Maidstone, and Letchford (2019) . 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) . License: GPL (>= 2) Depends: R (>= 4.1.0),crops,pacman Imports: Rdpack,Rcpp (>= 0.12.13), ggplot2,mathjaxr,pracma,methods LinkingTo: Rcpp Suggests: testthat RdMacros: Rdpack,mathjaxr Config/roxygen2/version: 8.0.0 NeedsCompilation: yes Packaged: 2026-07-03 10:51:00 UTC; root Author: Daniel Grose [aut, cre], Paul Fearnhead [aut] Repository: https://cran.r-universe.dev Date/Publication: 2026-05-29 12:30:38 UTC RemoteUrl: https://github.com/cran/cpop RemoteRef: HEAD RemoteSha: 498992ceaef762ad8f4b7588778a4a7fddc569da