{
  "_id": "6a1eeab2b401979e734120ad",
  "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-05-19 09:59:29 UTC",
    "User": "root"
  },
  "Author": "Samuel I. Berchuck [aut, cre]",
  "Maintainer": "Samuel I. Berchuck <sib2@duke.edu>",
  "MD5sum": "a4097bab56fa20243a2f33b7053b4155",
  "_user": "berchuck",
  "_type": "src",
  "_file": "spCP_1.4.0.tar.gz",
  "_fileid": "c5bfbe8f7483e6b6ede65a9873480eb82392999fa374d390132c79f2b91e4c7c",
  "_filesize": 2218215,
  "_sha256": "c5bfbe8f7483e6b6ede65a9873480eb82392999fa374d390132c79f2b91e4c7c",
  "_created": "2026-05-19T09:59:29.000Z",
  "_published": "2026-06-02T14:37:38.567Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79096467930,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7080496972"
    },
    {
      "job": 79096467640,
      "time": 238,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7080500624"
    },
    {
      "job": 79096468079,
      "time": 246,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080502584"
    },
    {
      "job": 79096467928,
      "time": 212,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080492111"
    },
    {
      "job": 79096467901,
      "time": 261,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7080497010"
    },
    {
      "job": 79096467753,
      "time": 302,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7080516793"
    },
    {
      "job": 79096467512,
      "time": 249,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080491011"
    },
    {
      "job": 79096467857,
      "time": 374,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080535144"
    },
    {
      "job": 79096464468,
      "time": 381,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080417368"
    },
    {
      "job": 79096466631,
      "time": 174,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360847900"
    },
    {
      "job": 79096467313,
      "time": 252,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7080504344"
    },
    {
      "job": 79096468545,
      "time": 265,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7080509303"
    },
    {
      "job": 79096468779,
      "time": 242,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080501912"
    }
  ],
  "_buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/berchuck/spcp",
  "_commit": {
    "id": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
    "author": "berchuck <sib2@duke.edu>",
    "committer": "berchuck <sib2@duke.edu>",
    "message": "Update of version 1.4.0.\n",
    "time": 1759235750
  },
  "_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
  },
  "_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": [
    {
      "week": "2025-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "berchuck",
      "count": 7,
      "uuid": 12814368
    },
    {
      "user": "samraymer",
      "count": 3,
      "uuid": 30486
    }
  ],
  "_userbio": {
    "uuid": 12814368,
    "type": "user",
    "name": "Samuel Berchuck",
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science"
  },
  "_downloads": {
    "count": 211,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spCP"
  },
  "_devurl": "https://github.com/berchuck/spcp",
  "_searchresults": 5,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spCP.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-05-19T10:03:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "149d613ef2c6c5ab444e0f2f1c913beebcb09dab61cbfd405d504543fb317922",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-19T10:03:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "da62c5310a4508a2c0c87cdb946113ec5e1dde2236957b50480484a0970381c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-19T10:03:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "ef18a75ced1691fcb93c2fab665c3df4ba4f17733563914d76d9d82696b9b871",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-19T10:02:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "bbb3a19a49f12632558d07e97a7cdfb0ed7a24d99e8210eb5040ddcbe73662e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-19T10:03:33.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "467515e59b0db898d144d071814882c1159bafd4f188b4e0bb1ca605359a8c07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-19T10:03:52.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "38cdd8751245a25a40c637ebb14606a0a026017bf2bf22975a814a1fd25460ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-19T10:03:01.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "a862da8bf17ba59dd8c17c96a4d812ccd909b34895c4c1e75dfdbbbc1e2f4b9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-19T10:04:21.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "a8a1fb65e9b2bb26ecfdf364ab066cb49034da19a3f0388bbd8ab8b29319837d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-19T10:02:10.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "172ce29a5ed3e3b173f61b8ade2aa372bc0a3fb4333a0f05eb95f23dcd5fac09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-19T10:02:46.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "05543ae99ebf8d604e26a43047ee6f345e0649cf31d0971c8a90020d9d9396b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-19T10:02:04.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "c32b2d2f27feb1a004d47de2c6e15e2c216b5de5950636cf6b9e8c3ad1ae2b54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-02T14:35:53.000Z",
      "arch": "emscripten",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "23fea572b566457b87123a5976268c9d8e97ba927f4eae69410da111b097fc66",
      "status": "success",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/26089820512"
    }
  ]
}