Skip to content

Sequential and Batch Change Detection Using Parametric and Nonparametric Methods

2packages dependsuggested by 1
15.2Kdownloads / year
–test coverage
9/13flavors OK

Overview

About

Sequential and batch change detection for univariate data streams, using the change point model framework. Functions are provided to allow nonparametric distribution-free change detection in the mean, variance, or general distribution of a given sequence of observations. Parametric change detection methods are also provided for Gaussian, Bernoulli and Exponential sequences. Both the batch (Phase I) and sequential (Phase II) settings are supported, and the sequences may contain either a single or multiple change points. A full description of this package is available in Ross, G.J (2015) - "Parametric and nonparametric sequential change detection in R" available at https://www.jstatsoft.org/article/view/v066i03.

Install

Health

CRAN checks
4NOTE9OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Gordon J. Ross <gordon@gordonjross.co.uk>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Gordon", "J."),
                    family = "Ross",
                    role = c("aut", "cre"),
                    email = "gordon@gordonjross.co.uk")
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTEcompiled coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
File ‘cpm/libs/cpm.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.

CRAN check page ↗

Slowest check: 3.3 min · r-devel-windows-x86_64
Status changes
  • NOTE9 OK, 4 NOTENow
  • NOTE10 OK, 4 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.3
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
11includes a package overview page
Examples that run
100%9 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
89%
Help pages citing references
55%

Downloads

15.2K
CRAN downloads in the past year
Rank #3,125 · ~42/day · ~1.3K/mo
Daily download trend is not available in this view yet.
1.5K30 days
3.9K90 days
15.2K1 year
Compare downloads with other packages →
Also on489 r2u10 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing cpm adds no packages beyond those that come with R.

Depends (2)
R >= 2.15.0methods
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
7indirect
Imports 2
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (from the free-text Author field) (1)

Maintainer since 1.0 (2012)

Listed in earlier versions (1)
incorporating code from the GNU Scientific Library
no longer listed · 1.0
Releases (6)

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
  • 2.3Latest
    record
    2020-10-08 · current release · diff ↗
  • 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
  • 2.2
    record
    2015-07-28 · diff ↗
  • 2.1
    record
    2015-07-12 · diff ↗
  • 2.0
    record
    2015-06-05 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
Show 7 earlier eventsHide 7 earlier events
  • archivedRemoved from CRAN
    2014-05-31
    memory access errors were not corrected
  • R
    R 3.1.0 released · 2014-04-10
  • 1.1
    record
    2013-12-15 · diff ↗ ·
    added 2 exports
    detectChangePointBatch, getBatchThreshold
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 1.0
    record
    2012-02-06
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2012-02-06
Total releases
6 / 14 yrs
License
GPL-3 OSI
Minimum R
≥ 2.15.0
Bundled data
54 KB / 1 file
Download size
829 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("cpm")

The package provides a citation file, so citation() returns the authors' own entry.

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 cpm version 2.3 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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