{
  "_id": "6a33a0153efcd9bda43a8404",
  "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-06-18 07:27:40 UTC",
    "User": "root"
  },
  "Author": "Samuel I. Berchuck [aut, cre]",
  "Maintainer": "Samuel I. Berchuck <sib2@duke.edu>",
  "MD5sum": "2144c87beaa2fcda02e58fa1e8c05da0",
  "_user": "berchuck",
  "_type": "src",
  "_file": "spCP_1.4.0.tar.gz",
  "_fileid": "2bd7f6429f5b8b80dfcb8fccf4ee0ae48a6f0e902cbd58c828b6d925113a2387",
  "_filesize": 2220373,
  "_sha256": "2bd7f6429f5b8b80dfcb8fccf4ee0ae48a6f0e902cbd58c828b6d925113a2387",
  "_created": "2026-06-18T07:27:40.000Z",
  "_published": "2026-06-18T07:36:53.670Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82077179295,
      "time": 214,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716889848"
    },
    {
      "job": 82077179410,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716892801"
    },
    {
      "job": 82077179407,
      "time": 270,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716908905"
    },
    {
      "job": 82077179419,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716888887"
    },
    {
      "job": 82077179293,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716894661"
    },
    {
      "job": 82077179343,
      "time": 334,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716929866"
    },
    {
      "job": 82077179289,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716882337"
    },
    {
      "job": 82077179284,
      "time": 424,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716955657"
    },
    {
      "job": 82076197763,
      "time": 383,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716819718"
    },
    {
      "job": 82077179287,
      "time": 177,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716877923"
    },
    {
      "job": 82077179291,
      "time": 234,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7716895982"
    },
    {
      "job": 82077179309,
      "time": 201,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7716885390"
    },
    {
      "job": 82077179261,
      "time": 211,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7716888751"
    }
  ],
  "_buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819",
  "_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",
    "followers": 10,
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science"
  },
  "_downloads": {
    "count": 247,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spCP"
  },
  "_devurl": "https://github.com/berchuck/spcp",
  "_searchresults": 8,
  "_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-06-18T07:30:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "4562b9efa6295e7580042af392f752f69575815cb0fb42c5b1c9bbecbfe9c99b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-18T07:31:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "79fade38ad7ba64029c3912b6a52e30ee04c162547d83749f09f87b89b4ab629",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-18T07:31:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "6a0c39ee6b2d43b3d01ea8261aa2b5a8fd6f5256944d9138fa2fa76a5b8c3119",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-18T07:30:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "28946ddb93434c8fe25773d92375298256b088ee158d0570c20ee0a4192f37a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-18T07:32:06.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "2a9ef32e6f60d3106fa5c02a907b5d1428fbac710710a0dcca50cf8ea9343c50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-18T07:32:19.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "2d6ca6fc190f2500e9e713e9892ec58764d8e553cc26563921b81bf6c4b2fb6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-18T07:31:19.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "5b073ed7dc71dbceb7c4e8c0d39b061c8f36374f9c0ae59f50c88f61ad1beb27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-18T07:32:43.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "3ef68d574e704809c758f598a37b06ffc6bfba040627758ca9de0c86269bd5d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-18T07:30:53.000Z",
      "arch": "emscripten",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "467ff260c8181bae82bd3121301a836eccdaf2e8700a9dd00c60f500645395b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-18T07:30:06.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "51a1ec3d9eb722ae1308be9c5c07bbc624a92a98962df830d3643f70340f2d81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-18T07:30:02.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "2225b85c2fb6bce865d6fc8301342307b0992fd0958e653151aa2c3cc836c24b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-18T07:29:57.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "a9140bf98e83b35ea694b80827adeaf45e168f63e454494f62c20b6083cdd8b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/27743517819"
    }
  ]
}