Package: cpop 1.0.9

Daniel Grose

cpop: Detection of Multiple Changes in Slope in Univariate Time-Series

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>.

Authors:Daniel Grose [aut, cre], Paul Fearnhead [aut]

cpop_1.0.9.tar.gz
cpop_1.0.9.tar.gz(r-4.7-arm64)cpop_1.0.9.tar.gz(r-4.7-x86_64)cpop_1.0.9.tar.gz(r-4.6-arm64)cpop_1.0.9.tar.gz(r-4.6-x86_64)
cpop_1.0.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
cpop/json (API)

# Install 'cpop' in R:
install.packages('cpop', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

1.56 score 36 scripts 624 downloads 11 exports 112 dependencies

Last updated from:498992ceae. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK169
linux-devel-x86_64OK174
source / vignettesOK206
linux-release-arm64OK167
linux-release-x86_64OK175
wasm-releaseOK177

Exports:changepointscostcpopcpop.cropscpop.crops.modelsestimatefittedplotresidualssimchangeslopesummary

Dependencies:askpassbackportsbase64encbitbit64blobbroombslibcachemcallrcellrangerclicliprconflictedcowplotcpp11crayoncropscurldata.tableDBIdbplyrdigestdplyrdtplyrevaluatefarverfastmapfontawesomeforcatsfsgarglegenericsggplot2gluegoogledrivegooglesheets4gtablehavenhighrhmshtmltoolshttridsisobandjquerylibjsonliteknitrlabelinglifecyclelubridatemagrittrmathjaxrmemoisemimemodelropensslotelpacmanpillarpkgconfigplyrpracmaprettyunitsprocessxprogresspspurrrR6raggrappdirsrbibutilsRColorBrewerRcppRdpackreadrreadxlrematchrematch2remotesreprexreshaperlangrmarkdownrstudioapirvestS7sassscalesselectrsetsstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttidyversetimechangetinytextzdbutf8uuidvctrsviridisLitevroomwithrxfunxml2yaml

Readme and manuals

Help Manual

Help pageTopics
Changepoint locationschangepoints changepoints,cpop.class-method
Calculate the cost of a model fitted by cpopcost cost,cpop.class-method
Find the best segmentation of data for a change-in-slope modelcpop
Calculate changepoint locations over a range of penalty valuescpop.crops crops.cpop,cpop.crops.class-method
Extract the cpop models created by cpop.cropscpop.crops.models cpop.crops.models,cpop.crops.class-method
Estimate the fit of a cpop modelestimate estimate,cpop.class-method
Extract model fitted valuesfitted fitted,cpop.class-method
Visualise changepoint locations and associated dataplot plot,cpop.class,ANY-method
Extract residuals from a cpop modelresiduals residuals,cpop.class-method
Display the S4 object produced by cpopshow show,cpop.class-method
Generate simulated datasimchangeslope
Summarise a cpop analysissummary summary,cpop.class-method
Wavenumber power spectra datawavenumber_spectra