Skip to content

changepoint

2.3Package record

Methods for Changepoint Detection

29packages dependsuggested by 5
117.3Kdownloads / year
55.6%test coverage
13/13flavors OK

Overview

About

Implements various mainstream and specialised changepoint methods for finding single and multiple changepoints within data. Many popular non-parametric and frequentist methods are included. The cpt.mean(), cpt.var(), cpt.meanvar() functions should be your first point of call.

Changes in 2.3
  • Added cpt.reg() function for changes in regression. Thanks to Harjit Hullait who coded the C backend for this whilst at the STOR-i doctoral training centre at Lancaster University. Thanks also to Simon Taylor who updated the documentation for cpt.reg() from an earlier version.
  • Added some generics for cpt.range that were missing before; nseg, seg.len. Previously these inherited from cpt, but now these can be called on the @cpts slot (default) or optionally with a ncpts argument for the specified number of changepoints.
  • Moved the fit functions outside of the param functions. Previously these were unnecessarily repeated across cpt, cpt.reg and cpt.range classes. This necessitated the adding of the generics that we missing for cpt.range so it worked seamlessly across classes.
  • Repeated code to calculate the cpts from a ncpts argument in cpt.range methods was removed.
  • The diagnostic plot for cpt.range objects (plot(object,diagnostic=TRUE)) has been changed to be more informative. The axes have been swapped and instead of a line graph, a stepped graph is used which better reflects that you can't get fractional numbers of changepoints (type="s"). This can be overridden with another type if preferred. Reworded the man file for plot-methods to reflect this change.
  • Added the upper bound on the tested penalty values to the pen.value.full slot for CROPS output. Previously this was automatically removed and so you needed the original function call to know the upper bound that was tested.
  • Added fitted and residuals methods for cpt, cpt.reg, cpt.range classes.

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.3
READMENoVignettesNoNEWSYes · 100% structured · mentions 2.3Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
91 (73 internal)includes a package overview page
Examples that run
94%44 run in a plain check · 3 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
10%

Downloads

117.3K
CRAN downloads in the past year
Rank #1,331 · ~321/day · ~9.8K/mo
Daily download trend is not available in this view yet.
7.4K30 days
21.8K90 days
117.3K1 year
Compare downloads with other packages →
Also on940 r2u15 autocran5.9K conda_forge234 bioconda126 c2d4u

Repository

140Stars
38Forks
14Open issues
0Open PRs
4Releases
92Commits
8Commit identities
rpackagecranchangepointsegmentation
92 commits · Last activity 2024-12-03 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
71%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-20 · 1372026-09-03 · 140
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/rkillick/changepoint on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing changepoint adds 1 package (1 with compiled code, 675 KB of source tarballs). Heaviest: zoo 675 KB.

Depends (4)
R >= 3.2methodsstatszoo
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none

Datasets

People & History

People (7)
Author, Maintainer since 0.3 (2011)
Contributor, Thesis advisor · added in 1.0
Contributor · added in 1.1.2
Contributor · added in 2.3
Contributor · added in 2.2.4
Thesis advisor · added in 1.0
Contractor · added in 2.0.1
Listed in earlier versions (1)
no longer listed · 2.12.2 to 0.8
Releases (37)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-01-16 · current release · diff ↗
  • 3.0.2
    record
    2013-06-19 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
Show 39 earlier eventsHide 39 earlier events
  • 3.0.0
    record
    2013-03-07 · diff ↗
  • 2.15.3
    record
    2013-02-25 · diff ↗
  • 2.15.2
    record
    2012-09-25 · diff ↗
  • 2.15.1
    record
    2012-05-13 · diff ↗ ·
    added 6 exports
    PELT.meanvar.poisson, binseg.meanvar.poisson, multiple.meanvar.poisson, segneigh.meanvar.poisson, single.meanvar.poisson, single.meanvar.poisson.calc
  • R
    R 2.15.0 released · 2012-03-30
  • 2.14.2
    record
    2012-02-06 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 2.13.2
    record
    2011-08-01 · diff ↗
  • 2.13.1
    record
    2011-05-27 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 2.13.0
    record
    2011-03-23 · diff ↗
  • 2.12.2
    record
    2011-01-21 · diff ↗
  • 2.3
    record
    2024-11-04 · diff ↗ ·
    added 1 export
    cpt.reg
  • 2.2.4
    record
    2022-11-03 · diff ↗
  • 2.2.3
    record
    2022-03-14 · diff ↗
  • 2.2.2
    record
    2016-10-04 · diff ↗ ·
    added 5 exports
    BINSEG, decision, penalty_decision, PELT, class_input
  • 2.2.1
    record
    2016-02-26 · diff ↗
  • 2.2
    record
    2015-11-09 · diff ↗
  • 2.1.1
    record
    2015-10-01 · diff ↗
  • 2.0.1
    record
    2015-07-27 · diff ↗ ·
    removed 49 exports
    PELT.mean.norm, PELT.meanvar.exp, PELT.meanvar.poisson, PELT.meanvar.gamma, PELT.meanvar.norm, PELT.var.norm, binseg.mean.cusum, binseg.mean.norm, binseg.meanvar.exp, binseg.meanvar.poisson, binseg.meanvar.gamma, binseg.meanvar.norm, binseg.var.css, binseg.var.norm, decision, method<-, multiple.mean.cusum, multiple.mean.norm, multiple.meanvar.exp, multiple.meanvar.poisson, multiple.meanvar.gamma, multiple.meanvar.norm, multiple.var.css, multiple.var.norm, param, segneigh.mean.cusum, segneigh.mean.norm, segneigh.meanvar.exp, segneigh.meanvar.poisson, segneigh.meanvar.gamma and 19 more
  • 1.1.5
    record
    2014-06-25 · diff ↗
  • 1.1.3
    record
    2014-06-13 · diff ↗
  • 1.1.2
    record
    2014-03-27 · diff ↗
  • 1.1.1
    record
    2014-02-17 · diff ↗
  • 1.1
    record
    2013-06-20 · diff ↗
  • 1.0.6
    record
    2013-06-08 · diff ↗
  • 1.0.5
    record
    2013-03-07 · diff ↗
  • 1.0.4
    record
    2013-02-25 · diff ↗
  • 1.0.3
    record
    2013-02-01 · diff ↗
  • 1.0
    record
    2013-01-08 · diff ↗
  • 0.8
    record
    2012-09-26 · diff ↗
  • 0.7
    record
    2012-05-22 · diff ↗
  • 0.6.1
    record
    2012-05-13 · diff ↗
  • 0.6
    record
    2012-02-06 · diff ↗
  • 0.5
    record
    2011-07-30 · diff ↗ ·
    added 46 exports
    PELT.mean.norm, PELT.meanvar.exp, PELT.meanvar.gamma, PELT.meanvar.norm, PELT.var.norm, binseg.mean.cusum, binseg.mean.norm, binseg.meanvar.exp, binseg.meanvar.gamma, binseg.meanvar.norm, binseg.var.css, binseg.var.norm, cpt.mean, cpt.meanvar, cpt.var, decision, method<-, multiple.mean.cusum, multiple.mean.norm, multiple.meanvar.exp, multiple.meanvar.gamma, multiple.meanvar.norm, multiple.var.css, multiple.var.norm, param, segneigh.mean.cusum, segneigh.mean.norm, segneigh.meanvar.exp, segneigh.meanvar.gamma, segneigh.meanvar.norm and 16 more
  • 0.4.1
    record
    2011-06-05 · diff ↗
  • 0.4
    record
    2011-03-24 · diff ↗
  • 0.3
    record
    2011-01-25
  • R
    R 2.12.0 released · 2010-10-15

Package metadata

First published
2011-01-21
Total releases
37 / 15 yrs
License
GPL
Minimum R
≥ 3.2
Bundled data
187 KB / 5 files
Download size
274 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("changepoint")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for changepoint version 2.3 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy