Package: spCP 1.4.0

spCP: Spatially Varying Change Points

Implements a spatially varying change point model with unique intercepts, slopes, variance intercepts and slopes, and change points at each location. Inference is within the Bayesian setting using Markov chain Monte Carlo (MCMC). The response variable can be modeled as Gaussian (no nugget), probit or Tobit link and the five spatially varying parameter are modeled jointly using a multivariate conditional autoregressive (MCAR) prior. The MCAR is a unique process that allows for a dissimilarity metric to dictate the local spatial dependencies. Full details of the package can be found in the accompanying vignette. Furthermore, the details of the package can be found in the corresponding paper published in Spatial Statistics by Berchuck et al (2019): "A spatially varying change points model for monitoring glaucoma progression using visual field data", <doi:10.1016/j.spasta.2019.02.001>.

Authors:Samuel I. Berchuck [aut, cre]

spCP_1.4.0.tar.gz
spCP_1.4.0.zip(r-4.7)spCP_1.4.0.zip(r-4.6)spCP_1.4.0.zip(r-4.5)
spCP_1.4.0.tgz(r-4.6-x86_64)spCP_1.4.0.tgz(r-4.6-arm64)spCP_1.4.0.tgz(r-4.5-x86_64)spCP_1.4.0.tgz(r-4.5-arm64)
spCP_1.4.0.tar.gz(r-4.7-arm64)spCP_1.4.0.tar.gz(r-4.7-x86_64)spCP_1.4.0.tar.gz(r-4.6-arm64)spCP_1.4.0.tar.gz(r-4.6-x86_64)
spCP_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
spCP/json (API)
NEWS

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

Bug tracker:https://github.com/berchuck/spcp/issues

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

On CRAN:

Conda:

openblascpp

3.70 score 5 scripts 211 downloads 4 exports 19 dependencies

Last updated from:75b325643a. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK228
linux-devel-x86_64OK238
source / vignettesOK381
linux-release-arm64OK246
linux-release-x86_64OK212
macos-release-arm64OK249
macos-release-x86_64OK374
macos-oldrel-arm64OK261
macos-oldrel-x86_64OK302
windows-develOK252
windows-releaseOK242
windows-oldrelOK265
wasm-releaseOK174

Exports:diagnosticsis.spCPPlotCPspCP

Dependencies:cliexpmgenericsgluelatticelifecyclemagrittrMatrixmsmmvtnormpillarpkgconfigRcppRcppArmadillorlangsurvivaltibbleutf8vctrs

Introduction to using R package: spCP

Rendered fromspCP-example.Rmdusingknitr::rmarkdownon May 19 2026.

Last update: 2025-09-30
Started: 2018-06-20