Package: cpop 1.0.7

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.7.tar.gz
cpop_1.0.7.tar.gz(r-4.5-noble)cpop_1.0.7.tar.gz(r-4.4-noble)
cpop_1.0.7.tgz(r-4.4-emscripten)cpop_1.0.7.tgz(r-4.3-emscripten)
cpop.pdf |cpop.html
cpop/json (API)
NEWS

# Install 'cpop' in R:
install.packages('cpop', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

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

cpp

1.48 score 30 scripts 648 downloads 11 exports 118 dependencies

Last updated 7 months agofrom:bcb6b82185. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 2024

Exports:changepointscostcpopcpop.cropscpop.crops.modelsestimatefittedplotresidualssimchangeslopesummary

Dependencies:askpassbackportsbase64encbitbit64blobbroombslibcachemcallrcellrangerclicliprcolorspaceconflictedcowplotcpp11crayoncropscurldata.tableDBIdbplyrdigestdplyrdtplyrevaluatefansifarverfastmapfontawesomeforcatsfsgarglegenericsggplot2gluegoogledrivegooglesheets4gtablehavenhighrhmshtmltoolshttridsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMASSmathjaxrMatrixmemoisemgcvmimemodelrmunsellnlmeopensslpacmanpillarpkgconfigplyrpracmaprettyunitsprocessxprogresspspurrrR6raggrappdirsrbibutilsRColorBrewerRcppRdpackreadrreadxlrematchrematch2remotesreprexreshaperlangrmarkdownrstudioapirvestsassscalesselectrsetsstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttidyversetimechangetinytextzdbutf8uuidvctrsviridisLitevroomwithrxfunxml2yaml

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