{
  "_id": "6a46d6fb6527f6f71f9f534d",
  "Package": "SDALGCP2",
  "Title": "Fast Spatially Discrete Approximation to Log-Gaussian Cox\nProcesses for Aggregated Disease Count Data",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Olatunji\", \"Johnson\", email = \"olatunjijohnson21111@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Emanuele\", \"Giorgi\", role = \"aut\"),\nperson(\"Peter\", \"Diggle\", role = \"aut\"))",
  "Description": "Fits a spatially discrete approximation to a log-Gaussian\nCox process model for spatially aggregated disease count data,\nestimated by Monte Carlo Maximum Likelihood as in Christensen\n(2004) <doi:10.1198/106186004X2525> and Johnson, Diggle and\nGiorgi (2019) <doi:10.1002/sim.8339>. Performance-critical\nsteps (aggregated correlation assembly, 'MALA' sampling, the\nMonte Carlo likelihood, and the Kronecker-structured space-time\nlikelihood) are implemented in C++ via 'RcppArmadillo'.\nProvides a one-line, 'glm'-like interface and statistical\nextensions including a nugget term, general 'Matern'\nsmoothness, raster and misaligned covariates, restricted\nspatial regression, importance-sampling diagnostics and\nre-anchored 'MCML'.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/olatunjijohnson/SDALGCP2,\nhttps://olatunjijohnson.github.io/SDALGCP2/",
  "BugReports": "https://github.com/olatunjijohnson/SDALGCP2/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-02 21:19:57 UTC",
    "User": "root"
  },
  "Author": "Olatunji Johnson [aut, cre], Emanuele Giorgi [aut], Peter\nDiggle [aut]",
  "Maintainer": "Olatunji Johnson <olatunjijohnson21111@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 18:40:25 UTC",
  "RemoteUrl": "https://github.com/cran/SDALGCP2",
  "RemoteRef": "HEAD",
  "RemoteSha": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
  "_user": "cran",
  "_type": "src",
  "_file": "SDALGCP2_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/13a51af4a6b6c15a0b334a72f783ddd07ba3c8f0c4504a34ac24077c1287830e",
  "_filesize": 2022061,
  "_sha256": "13a51af4a6b6c15a0b334a72f783ddd07ba3c8f0c4504a34ac24077c1287830e",
  "_expires": "2026-10-10T21:24:11.000Z",
  "_created": "2026-07-02T21:19:57.000Z",
  "_published": "2026-07-02T21:24:11.839Z",
  "_jobs": [
    {
      "job": 84880806879,
      "time": 178,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051947116"
    },
    {
      "job": 84880806886,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051947531"
    },
    {
      "job": 84880806871,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051948219"
    },
    {
      "job": 84880806927,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051947202"
    },
    {
      "job": 84879796116,
      "time": 353,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051887422"
    },
    {
      "job": 84880806850,
      "time": 187,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8051949250"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598",
  "_status": "success",
  "_upstream": "https://github.com/cran/SDALGCP2",
  "_commit": {
    "id": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
    "author": "Olatunji Johnson <olatunjijohnson21111@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1783017625
  },
  "_maintainer": {
    "name": "Olatunji Johnson",
    "email": "olatunjijohnson21111@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SDALGCP2"
  },
  "_devurl": "https://github.com/olatunjijohnson/sdalgcp2",
  "_pkgdown": "https://olatunjijohnson.github.io/SDALGCP2/",
  "_searchresults": 22,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_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/SDALGCP2.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "coef_plot",
    "control_mcmc",
    "exceedance",
    "laplace_sampling",
    "map_exceedance",
    "mc_diagnostics",
    "mcml_fit",
    "model_check",
    "phi_profile",
    "precompute_corr",
    "report",
    "sda_points",
    "sdalgcp",
    "sdalgcp_control",
    "SDALGCP2",
    "SDALGCP2_misaligned",
    "SDALGCP2_raster",
    "SDALGCP2_ST"
  ],
  "_datasets": [
    {
      "name": "liver",
      "title": "Primary biliary cirrhosis incidence in North East England",
      "object": "liver",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "lsoa",
        "cases",
        "pop",
        "IMD",
        "Income",
        "Employment",
        "geometry"
      ],
      "rows": 545,
      "table": false,
      "tojson": true
    },
    {
      "name": "sdalgcp_data",
      "title": "Simulated aggregated disease-count data",
      "object": "sdalgcp_data",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "region",
        "cases",
        "x1",
        "pop",
        "geometry"
      ],
      "rows": 64,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef_plot",
      "title": "Coefficient plot of fixed effects (and sigma^2) with confidence intervals",
      "topics": [
        "coef_plot"
      ]
    },
    {
      "page": "confint.SDALGCP2",
      "title": "Wald confidence intervals for an SDALGCP2 fit",
      "topics": [
        "confint.SDALGCP2"
      ]
    },
    {
      "page": "control_mcmc",
      "title": "MCMC control settings for the MALA sampler",
      "topics": [
        "control_mcmc"
      ]
    },
    {
      "page": "exceedance",
      "title": "Exceedance probabilities P(risk > threshold)",
      "topics": [
        "exceedance"
      ]
    },
    {
      "page": "laplace_sampling",
      "title": "Sample the latent field [S | Y] (Poisson, non-nested) via C++ MALA",
      "topics": [
        "laplace_sampling"
      ]
    },
    {
      "page": "liver",
      "title": "Primary biliary cirrhosis incidence in North East England",
      "topics": [
        "liver"
      ]
    },
    {
      "page": "map_exceedance",
      "title": "Map exceedance probabilities P(risk > threshold)",
      "topics": [
        "map_exceedance"
      ]
    },
    {
      "page": "mc_diagnostics",
      "title": "Importance-sampling diagnostics for an MCML fit",
      "topics": [
        "mc_diagnostics"
      ]
    },
    {
      "page": "mcml_fit",
      "title": "Monte Carlo maximum likelihood estimation for the spatial SDA-LGCP",
      "topics": [
        "mcml_fit"
      ]
    },
    {
      "page": "model_check",
      "title": "Posterior-predictive model checking for an SDALGCP2 fit",
      "topics": [
        "model_check"
      ]
    },
    {
      "page": "phi_profile",
      "title": "Profile likelihood and confidence interval for the spatial scale phi",
      "topics": [
        "phi_profile"
      ]
    },
    {
      "page": "plot.sdalgcp",
      "title": "Map an sdalgcp fit",
      "topics": [
        "plot.sdalgcp"
      ]
    },
    {
      "page": "plot.SDALGCP2",
      "title": "Plot an SDALGCP2 fit (the phi profile deviance)",
      "topics": [
        "plot.SDALGCP2"
      ]
    },
    {
      "page": "plot.SDALGCP2_pred",
      "title": "Map a fitted SDALGCP2 prediction",
      "topics": [
        "plot.SDALGCP2_pred"
      ]
    },
    {
      "page": "plot.SDALGCP2_ST_pred",
      "title": "Map a spatio-temporal prediction for one time",
      "topics": [
        "plot.SDALGCP2_ST_pred"
      ]
    },
    {
      "page": "precompute_corr",
      "title": "Precompute aggregated region-level correlation matrices",
      "topics": [
        "precompute_corr"
      ]
    },
    {
      "page": "predict.sdalgcp",
      "title": "Predict relative risk from an sdalgcp fit",
      "topics": [
        "predict.sdalgcp"
      ]
    },
    {
      "page": "predict.SDALGCP2",
      "title": "Predict relative risk from a fitted SDALGCP2 model",
      "topics": [
        "predict.SDALGCP2"
      ]
    },
    {
      "page": "predict.SDALGCP2_ST",
      "title": "Discrete (region x time) prediction for a spatio-temporal fit",
      "topics": [
        "predict.SDALGCP2_ST"
      ]
    },
    {
      "page": "print.SDALGCP2",
      "title": "Print an SDALGCP2 fit",
      "topics": [
        "print.SDALGCP2"
      ]
    },
    {
      "page": "print.summary.SDALGCP2",
      "title": "Print a summary of an SDALGCP2 fit",
      "topics": [
        "print.summary.SDALGCP2"
      ]
    },
    {
      "page": "report",
      "title": "One-call panel of post-fit graphics",
      "topics": [
        "report"
      ]
    },
    {
      "page": "sda_points",
      "title": "Generate candidate sampling points inside each region",
      "topics": [
        "sda_points"
      ]
    },
    {
      "page": "sdalgcp",
      "title": "Fit a spatially discrete LGCP model for aggregated counts",
      "topics": [
        "sdalgcp"
      ]
    },
    {
      "page": "sdalgcp_control",
      "title": "Control settings for 'sdalgcp'",
      "topics": [
        "sdalgcp_control"
      ]
    },
    {
      "page": "sdalgcp_data",
      "title": "Simulated aggregated disease-count data",
      "topics": [
        "sdalgcp_data"
      ]
    },
    {
      "page": "SDALGCP2",
      "title": "Fit a spatial SDA-LGCP model",
      "topics": [
        "SDALGCP2"
      ]
    },
    {
      "page": "SDALGCP2_misaligned",
      "title": "Fit an SDA-LGCP with covariates measured on a different support",
      "topics": [
        "SDALGCP2_misaligned"
      ]
    },
    {
      "page": "SDALGCP2_raster",
      "title": "Fit an SDA-LGCP with spatially continuous (raster) covariates",
      "topics": [
        "SDALGCP2_raster"
      ]
    },
    {
      "page": "SDALGCP2_ST",
      "title": "Fit a spatio-temporal SDA-LGCP model (Kronecker-free)",
      "topics": [
        "SDALGCP2_ST"
      ]
    },
    {
      "page": "summary.SDALGCP2",
      "title": "Summary of an SDALGCP2 fit",
      "topics": [
        "summary.SDALGCP2"
      ]
    }
  ],
  "_readme": "https://github.com/cran/SDALGCP2/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "deldir",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "pkgconfig",
    "polyclip",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "tensor",
    "terra",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "SDALGCP2-intro.Rmd",
      "filename": "SDALGCP2-intro.html",
      "title": "Spatial disease mapping with SDALGCP2 ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The model",
        "The data",
        "Fit",
        "Map the two relative risks",
        "Uncertainty and exceedance",
        "A continuous surface",
        "Model checking",
        "Real data",
        "Next"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    },
    {
      "source": "raster-covariates.Rmd",
      "filename": "raster-covariates.html",
      "title": "Spatially continuous (raster) predictors ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem, precisely",
        "The data",
        "Fitting: naive vs intensity-scale",
        "When does it matter?",
        "Output",
        "Options"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    },
    {
      "source": "spatio-temporal.Rmd",
      "filename": "spatio-temporal.html",
      "title": "Spatio-temporal disease mapping ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The model",
        "The data",
        "Fit",
        "Predict and map — pick a year and a quantity",
        "Covariates and confounding",
        "Tips"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    },
    {
      "source": "scale-grid-vs-continuous.Rmd",
      "filename": "scale-grid-vs-continuous.html",
      "title": "Estimating the spatial scale: grid vs continuous ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Where (\\phi) lives: a double integral",
        "Set up an example",
        "Grid (profile)",
        "Continuous (direct) — the default",
        "They agree — and continuous gives a standard error",
        "Which to use?"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    },
    {
      "source": "spatial-confounding.Rmd",
      "filename": "spatial-confounding.html",
      "title": "Spatial confounding and restricted spatial regression ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The issue",
        "Restricted spatial regression (RSR)",
        "What RSR does — and what it does not",
        "Practical guidance",
        "References"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    },
    {
      "source": "misaligned-covariates.Rmd",
      "filename": "misaligned-covariates.html",
      "title": "Covariates measured on a different support ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The method",
        "Point support: monitoring stations",
        "Areal support: a different partition",
        "Notes"
      ],
      "created": "2026-07-02 18:40:25",
      "modified": "2026-07-02 18:40:25",
      "commits": 1
    }
  ],
  "_score": 3.8195439355418683,
  "_indexed": true,
  "_nocasepkg": "sdalgcp2",
  "_universes": [
    "cran",
    "olatunjijohnson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:22:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
      "fileid": "https://r2.ropensci.org/8eda96c0c7fbefc816dd2104c30ad18952b1a0ba7c3e7498e63ed6ad20618fe2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:22:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
      "fileid": "https://r2.ropensci.org/8c2532b4028b4fe8ee576ec77734f27ac23010aa4cacf6f2229b0439d9c19cc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:22:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
      "fileid": "https://r2.ropensci.org/df7cac26e100d2ad181d3bf2d7db0262491b01f28bdd65c506ee5d82b6a3e936",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:22:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
      "fileid": "https://r2.ropensci.org/c136be9e548cf54b7a1cef773806265ab8745cc4f39e74f117d26626a06a3573",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-02T21:23:33.000Z",
      "arch": "emscripten",
      "commit": "cc2e16b6ed9c3351d616d42ce0045f2f9bcca979",
      "fileid": "https://r2.ropensci.org/7f32720d649a732dca6fd5ed9c60252a59a339c6d51b47e1b802e5d280737b39",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622004598"
    }
  ]
}