Skip to content

Bayesian Analysis of Change Point Problems

0packages dependsuggested by 2
4.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides an implementation of the product partition model described in Barry and Hartigan (2019) doi:10.2307/2290726 for the normal errors change point problem using Markov Chain Monte Carlo (MCMC). It also extends the methodology to regression models on a connected graph as reported in Wang and Emerson (2015) doi:10.48550/arXiv.1509.00817, allowing estimation of change point models with multivariate responses. Parallel MCMC, previously available in 'bcp' v.3.0.0, is currently not implemented.

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK2 OK2026-05-21
Advisories

none known

Documentation

In release 4.0.4
READMEYes · 83 wordsVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
14includes a package overview page
Examples that run
77%10 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
43%

Also includes 6 demo scripts (run with demo())

Downloads

4.5K
CRAN downloads in the past year
Rank #3,865 · ~12/day · ~378/mo
Daily download trend is not available in this view yet.
90130 days
2.4K90 days
4.5K1 year
Compare downloads with other packages →
Also on339 r2u41 autocran157 c2d4u

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-05-07
Responsiveness
not measured
PracticesBeta

Checks run against github.com/zhaokg/bcp on 2026-10-21.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing bcp adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (3)
graphicsmethodsgrid
Imports (1)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 4.0.4 (2026) · added in 4.0.4
Author · added in 1.8.4
Author · added in 4.0.0

Previously maintained by John W. Emerson (2.2.0) and Chandra Erdman (1.0 to 2.1.3).

Listed in earlier versions (1)
Emerson
no longer listed · 4.0.4
Releases (29)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-05-20
  • 4.0.4Latest
    record
    2026-05-20 · current release · diff ↗
  • 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
  • archivedRemoved from CRAN
    2024-01-12
    email to the maintainer is undeliverable
  • 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
  • 4.0.3
    record
    2018-08-13 · diff ↗
  • 4.0.2
    record
    2018-06-08 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 4.0.1
    record
    2018-04-11 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
Show 41 earlier eventsHide 41 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 4.0.0
    record
    2015-07-15 · diff ↗ ·
    removed 5 exports
    summary.bcp, plot.bcp, print.bcp, fitted.bcp, residuals.bcp
    added 1 export
    makeAdjGrid
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 3.0.1
    record
    2012-04-19 · diff ↗ ·
    removed 1 export
    plot.bcp.legacy
    added 1 export
    legacyplot
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 3.0.0
    record
    2011-09-16 · diff ↗ ·
    added 1 export
    plot.bcp.legacy
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 2.2.0
    record
    2010-05-08 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 2.1.3
    record
    2010-02-25 · diff ↗
  • 2.1.2
    record
    2009-10-26 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 2.1.1
    record
    2009-03-25 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 2.1
    record
    2008-07-15 · diff ↗ ·
    added 1 export
    interval.prob
  • 2.0
    record
    2008-05-30 · diff ↗
  • 1.8.5
    record
    2008-05-14 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 1.8.4
    record
    2007-12-04 · diff ↗
  • 1.8.3
    record
    2007-12-03 · diff ↗
  • 1.8.2
    record
    2007-11-19 · diff ↗
  • 1.8.1
    record
    2007-11-14 · diff ↗
  • 1.8
    record
    2007-11-13 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 1.7.2
    record
    2007-10-02 · diff ↗
  • 1.7.1
    record
    2007-08-08 · diff ↗
  • 1.7
    record
    2007-07-11 · diff ↗ ·
    added 2 exports
    fitted.bcp, residuals.bcp
  • R
    R 2.5.0 released · 2007-04-24
  • 1.6
    record
    2007-04-12 · diff ↗ ·
    added 4 exports
    bcp, summary.bcp, plot.bcp, print.bcp
  • 1.5
    record
    2007-01-02 · diff ↗
  • 1.4
    record
    2006-12-16 · diff ↗
  • 1.3
    record
    2006-12-14 · diff ↗
  • 1.2
    record
    2006-12-11 · diff ↗
  • 1.1
    record
    2006-11-20 · diff ↗
  • 1.0
    record
    2006-11-12
  • R
    R 2.4.0 released · 2006-10-03

Package metadata

First published
2006-11-12
Total releases
29 / 20 yrs
License
GPL (>= 2) OSI
Bundled data
67 KB / 5 files
Download size
120 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("bcp")

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

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