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>.
| Version: | 1.4.0 |
| Depends: | R (≥ 3.0.2) |
| Imports: | graphics, grDevices,msm (≥ 1.0.0),mvtnorm (≥ 1.0-0),Rcpp (≥ 0.12.9), stats, utils |
| LinkingTo: | Rcpp,RcppArmadillo (≥ 0.7.500.0.0) |
| Suggests: | coda,classInt,knitr,rmarkdown,womblR (≥ 1.0.3) |
| Published: | 2025-09-29 |
| DOI: | 10.32614/CRAN.package.spCP |
| Author: | Samuel I. Berchuck [aut, cre] |
| Maintainer: | Samuel I. Berchuck <sib2 at duke.edu> |
| License: | GPL-2 |GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | yes |
| Materials: | NEWS |
| CRAN checks: | spCP results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=spCPto link to this page.