{
  "_id": "6b02ef057510c4b9d7d8fe5d",
  "Package": "spCP",
  "Type": "Package",
  "Title": "Spatially Varying Change Points",
  "Version": "1.4.0",
  "Date": "2025-09-29",
  "Authors@R": "person(\"Samuel I.\", \"Berchuck\", email = \"sib2@duke.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements a spatially varying change point model with\nunique intercepts, slopes, variance intercepts and slopes, and\nchange points at each location. Inference is within the\nBayesian setting using Markov chain Monte Carlo (MCMC). The\nresponse variable can be modeled as Gaussian (no nugget),\nprobit or Tobit link and the five spatially varying parameter\nare modeled jointly using a multivariate conditional\nautoregressive (MCAR) prior. The MCAR is a unique process that\nallows for a dissimilarity metric to dictate the local spatial\ndependencies. Full details of the package can be found in the\naccompanying vignette. Furthermore, the details of the package\ncan be found in the corresponding paper published in Spatial\nStatistics by Berchuck et al (2019): \"A spatially varying\nchange points model for monitoring glaucoma progression using\nvisual field data\", <doi:10.1016/j.spasta.2019.02.001>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Repository": "https://berchuck.r-universe.dev",
  "Date/Publication": "2025-09-30 12:35:50 UTC",
  "RemoteUrl": "https://github.com/berchuck/spcp",
  "RemoteRef": "HEAD",
  "RemoteSha": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
  "Packaged": {
    "Date": "2026-11-22 13:24:20 UTC",
    "User": "root"
  },
  "Author": "Samuel I. Berchuck [aut, cre]",
  "Maintainer": "Samuel I. Berchuck <sib2@duke.edu>",
  "_user": "berchuck",
  "_type": "src",
  "_file": "spCP_1.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2c070830dc785c216bc3b1c256c9b56d690fd2a2bd22ac27b41e3fe11a9e84ca",
  "_filesize": 2216656,
  "_sha256": "2c070830dc785c216bc3b1c256c9b56d690fd2a2bd22ac27b41e3fe11a9e84ca",
  "_expires": "2027-03-02T13:32:51.000Z",
  "_created": "2026-11-22T13:24:20.000Z",
  "_published": "2026-11-22T13:32:52.922Z",
  "_upstream": "https://github.com/berchuck/spcp",
  "_status": "success",
  "_maintainer": {
    "name": "Samuel I. Berchuck",
    "email": "sib2@duke.edu",
    "login": "berchuck",
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science",
    "uuid": 12814368
  },
  "_jobs": [
    {
      "job": 137223427311,
      "time": 181,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14755884026"
    },
    {
      "job": 137223427497,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14755859621"
    },
    {
      "job": 137223427312,
      "time": 192,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14755897591"
    },
    {
      "job": 137223427337,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14756775529"
    },
    {
      "job": 137223427236,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14756656470"
    },
    {
      "job": 137223427229,
      "time": 326,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14756880843"
    },
    {
      "job": 137223427389,
      "time": 252,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14756208242"
    },
    {
      "job": 137223427271,
      "time": 406,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14756044062"
    },
    {
      "job": 137221599616,
      "time": 399,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14755918527"
    },
    {
      "job": 137223427282,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14756755417"
    },
    {
      "job": 137223427263,
      "time": 293,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14755669683"
    },
    {
      "job": 137223427403,
      "time": 280,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14756800507"
    },
    {
      "job": 137223427273,
      "time": 170,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14756825164"
    },
    {
      "job": 137223427315,
      "time": 313,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14755909466"
    },
    {
      "job": 137223427258,
      "time": 232,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14756740713"
    }
  ],
  "_buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385",
  "_commit": {
    "id": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
    "author": "berchuck <sib2@duke.edu>",
    "committer": "berchuck <sib2@duke.edu>",
    "message": "Update of version 1.4.0.\n",
    "time": 1759235750
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.7.500.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "msm",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.0-0",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.9",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Suggests"
    },
    {
      "package": "classInt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "womblR",
      "version": ">= 1.0.3",
      "role": "Suggests"
    }
  ],
  "_owner": "berchuck",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "berchuck",
      "count": 7,
      "uuid": 12814368
    },
    {
      "user": "samraymer",
      "count": 3,
      "uuid": 30486
    }
  ],
  "_userbio": {
    "uuid": 12814368,
    "type": "user",
    "name": "Samuel Berchuck",
    "followers": 10,
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science"
  },
  "_downloads": {
    "count": 466,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spCP"
  },
  "_devurl": "https://github.com/berchuck/spcp",
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spCP.html"
  ],
  "_homeurl": "https://github.com/berchuck/spcp",
  "_realowner": "berchuck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2018-07-13"
    },
    {
      "version": "1.1",
      "date": "2018-11-28"
    },
    {
      "version": "1.2",
      "date": "2018-12-05"
    },
    {
      "version": "1.3",
      "date": "2022-09-05"
    },
    {
      "version": "1.4.0",
      "date": "2025-09-29"
    }
  ],
  "_authors": [
    {
      "name": "Samuel I. Berchuck",
      "email": "sib2@duke.edu",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "diagnostics",
    "is.spCP",
    "PlotCP",
    "spCP"
  ],
  "_datasets": [
    {
      "name": "GarwayHeath",
      "title": "Garway-Heath angles for the HFA-II",
      "object": "GarwayHeath",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "HFAII_Queen",
      "title": "HFAII Queen Adjacency Matrix",
      "object": "HFAII_Queen",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "HFAII_QueenHF",
      "title": "HFAII Queen Hemisphere Adjacency Matrix",
      "object": "HFAII_QueenHF",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "HFAII_Rook",
      "title": "HFAII Rook Adjacency Matrix",
      "object": "HFAII_Rook",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "VFSeries",
      "title": "Visual field series for one patient.",
      "object": "VFSeries",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Visit",
        "DLS",
        "Time",
        "Location"
      ],
      "rows": 486,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "diagnostics",
      "title": "diagnostics",
      "topics": [
        "diagnostics"
      ]
    },
    {
      "page": "GarwayHeath",
      "title": "Garway-Heath angles for the HFA-II",
      "topics": [
        "GarwayHeath"
      ]
    },
    {
      "page": "HFAII_Queen",
      "title": "HFAII Queen Adjacency Matrix",
      "topics": [
        "HFAII_Queen"
      ]
    },
    {
      "page": "HFAII_QueenHF",
      "title": "HFAII Queen Hemisphere Adjacency Matrix",
      "topics": [
        "HFAII_QueenHF"
      ]
    },
    {
      "page": "HFAII_Rook",
      "title": "HFAII Rook Adjacency Matrix",
      "topics": [
        "HFAII_Rook"
      ]
    },
    {
      "page": "is.spCP",
      "title": "is.spCP",
      "topics": [
        "is.spCP"
      ]
    },
    {
      "page": "PlotCP",
      "title": "PlotCP",
      "topics": [
        "PlotCP"
      ]
    },
    {
      "page": "predict.spCP",
      "title": "predict.spCP",
      "topics": [
        "predict.spCP"
      ]
    },
    {
      "page": "spCP",
      "title": "MCMC sampler for spatially varying change point model.",
      "topics": [
        "spCP-package",
        "spCP"
      ]
    },
    {
      "page": "VFSeries",
      "title": "Visual field series for one patient.",
      "topics": [
        "VFSeries"
      ]
    }
  ],
  "_readme": "https://github.com/berchuck/spcp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "expm",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "msm",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "survival",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "spCP-example.Rmd",
      "filename": "spCP-example.html",
      "title": "Introduction to using R package: spCP",
      "author": "Samuel I. Berchuck",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Use of spCP",
        "Format data for spCP",
        "Adjacency matrix and dissimilarity metric",
        "MCMC Characteristics",
        "Spatially varying change point model",
        "Assessing model convergence",
        "Post model fit analysis",
        "Compute diagnostics",
        "Future prediction"
      ],
      "created": "2018-06-20 16:02:15",
      "modified": "2025-09-30 12:35:50",
      "commits": 4
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spcp",
  "_universes": [
    "berchuck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/678820bd3858148baac2a40630973d4f6b57be96de92552e4b03819265169828",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/78dbcdc47224a3acfcb77905038632488ce5506ba9369a1e90da702a8dec91d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/d8b50ea30d445679651b64643e0c7b56de4f16a2a904e7e93be7c7dd56485d48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/1ad4555003209af4b5d46380271162bcf708b4d440727f22870d194156234a31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:16.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/c331f84635568332a7872693ca023adee9385e54f58da09de3c3e4f37e7ecb22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-11-22T13:28:44.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/7aa7931cd753383508b941b6f70efd2e0b3ccc9ff326e172748744c2000cf774",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:35.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/6df0061e2f6dc00ba57e40527b69f3f4d82bc2b326640e8c474b166f5809ee5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-11-22T13:28:47.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/5b42332d4adb2145a9d92b747dfe459105ad22339f21af9e8b222c4addf681bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-11-22T13:27:12.000Z",
      "arch": "emscripten",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/ba3196067dffa8f6abc424bc6bca378bbbfeb8e137fa5141f0ce0c2a033cab6f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-11-22T13:28:12.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/15a7dff8a96a7aad3d09b30dfdf243257a60d276c2d019573b24e5039ffb2b42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-11-22T13:26:42.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/d58144072366ed8e56f0a004bd634189e68af2275b90f0227a65767c569a2316",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-11-22T13:26:32.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/67b0cbf99f7dbd214b93f3247fa1e928fd02e9bd09a7ec712056466db632dcc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-11-22T13:28:37.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/10a515c9a53d17b27a50e280bd49ae04ae3c92eb178f8b0cdae9233e27abbf63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-11-22T13:26:39.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/d023de141a6cb64fbd842ea1169d385effe99c452d9b42544e5058798676b104",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/45026812385"
    }
  ]
}