{
  "_id": "6ae1a60b327abcdf86863f1b",
  "Package": "inlatools",
  "Title": "Diagnostic Tools for INLA Models",
  "Version": "0.0.3",
  "Authors@R": "c(\nperson(\"Thierry\", \"Onkelinx\", , \"thierry.onkelinx@inbo.be\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8804-4216\", affiliation = \"Research Institute for Nature and Forest (INBO)\")),\nperson(\"Research Institute for Nature and Forest (INBO)\", , , \"info@inbo.be\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Several functions which can be useful to choose sensible\npriors and diagnose the fitted model.",
  "License": "GPL-3",
  "URL": "https://inbo.github.io/inlatools/,\nhttps://github.com/inbo/inlatools",
  "BugReports": "https://github.com/inbo/inlatools/issues",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable",
  "Config/checklist/communities": "inbo",
  "Config/checklist/keywords": "INLA; dispersion; distribution; prior;\nanomaly; residuals",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://thierryo.r-universe.dev",
  "Date/Publication": "2024-10-04 10:24:15 UTC",
  "RemoteUrl": "https://github.com/inbo/inlatools",
  "RemoteRef": "HEAD",
  "RemoteSha": "e711776e8325734557593937c3ef439794e04b7c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-28 07:22:51 UTC",
    "User": "root"
  },
  "Author": "Thierry Onkelinx [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8804-4216>, affiliation: Research\nInstitute for Nature and Forest (INBO)),\nResearch Institute for Nature and Forest (INBO) [cph, fnd]",
  "Maintainer": "Thierry Onkelinx <thierry.onkelinx@inbo.be>",
  "_user": "thierryo",
  "_type": "src",
  "_file": "inlatools_0.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/9f67c1c68ee63b81a91e8e9d15ba02afaeb45f2f0f564a9f595c48de7810bfeb",
  "_filesize": 5572562,
  "_sha256": "9f67c1c68ee63b81a91e8e9d15ba02afaeb45f2f0f564a9f595c48de7810bfeb",
  "_expires": "2027-02-05T07:34:19.000Z",
  "_created": "2026-10-28T07:22:51.000Z",
  "_published": "2026-10-28T07:36:43.061Z",
  "_upstream": "https://github.com/inbo/inlatools",
  "_status": "success",
  "_maintainer": {
    "name": "Thierry Onkelinx",
    "email": "thierry.onkelinx@inbo.be",
    "login": "thierryo",
    "mastodon": "@ThierryO@fosstodon.org",
    "orcid": "0000-0001-8804-4216",
    "description": "",
    "uuid": 446636
  },
  "_jobs": [
    {
      "job": 122686787357,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799516804"
    },
    {
      "job": 122686787381,
      "time": 222,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12798933078"
    },
    {
      "job": 122686787395,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12798868068"
    },
    {
      "job": 122686787451,
      "time": 355,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799641139"
    },
    {
      "job": 122684325111,
      "time": 431,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799685230"
    },
    {
      "job": 122686787368,
      "time": 242,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12799700044"
    },
    {
      "job": 122686787389,
      "time": 637,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799578183"
    },
    {
      "job": 122686787375,
      "time": 353,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12799272987"
    },
    {
      "job": 122686787426,
      "time": 198,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799685872"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576",
  "_commit": {
    "id": "e711776e8325734557593937c3ef439794e04b7c",
    "author": "Thierry Onkelinx <ThierryO@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from inbo/gpoisson\n\nGpoisson",
    "time": 1728037455
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "INLA",
      "version": ">= 19.09.03",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sn",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "inbo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian-statistics",
    "gplv3",
    "inla",
    "mixed-models",
    "model-checking",
    "model-validation"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "thierryo",
      "count": 186,
      "uuid": 446636
    },
    {
      "user": "florisvdh",
      "count": 1,
      "uuid": 19164640
    }
  ],
  "_userbio": {
    "uuid": 446636,
    "type": "user",
    "name": "Thierry Onkelinx",
    "followers": 68
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/inlatools"
  },
  "_devurl": "https://github.com/inbo/inlatools",
  "_pkgdown": "https://inbo.github.io/inlatools/",
  "_searchresults": 92,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/inlatools.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "dgpoisson",
    "dispersion",
    "dispersion_check",
    "distribution_check",
    "fast_aggregation_check",
    "fast_distribution_check",
    "fitted",
    "generate_data",
    "get_anomaly",
    "get_observed",
    "prec2sd",
    "residuals",
    "rgpoisson",
    "rzanbinom",
    "rzapois",
    "rzinbinom",
    "rzipois",
    "select_change",
    "select_divergence",
    "select_poly",
    "select_quantile",
    "simulate_iid",
    "simulate_rw",
    "var_nbinom",
    "var_zinbinom1",
    "var_zipois1"
  ],
  "_help": [
    {
      "page": "gpoisson",
      "title": "The generalised Poisson distribution",
      "concept": [
        "statistics"
      ],
      "topics": [
        "dgpoisson",
        "rgpoisson"
      ]
    },
    {
      "page": "dispersion",
      "title": "Calculate a measure for dispersion",
      "concept": [
        "statistics"
      ],
      "topics": [
        "dispersion"
      ]
    },
    {
      "page": "dispersion_check",
      "title": "Use simulations to check for overdispersion or underdispersion",
      "concept": [
        "checks"
      ],
      "topics": [
        "dispersion_check",
        "dispersion_check,inla-method"
      ]
    },
    {
      "page": "distribution_check",
      "title": "Use simulations to compare the observed distribution with the modelled distribution",
      "concept": [
        "checks"
      ],
      "topics": [
        "distribution_check",
        "distribution_check,inla-method"
      ]
    },
    {
      "page": "fast_aggregation_check",
      "title": "Fast aggregation check Compare the observed and modelled aggregated values.",
      "concept": [
        "checks"
      ],
      "topics": [
        "fast_aggregation_check",
        "fast_aggregation_check,inla-method"
      ]
    },
    {
      "page": "fast_distribution_check",
      "title": "Use simulations to compare the observed distribution with the modelled distribution",
      "concept": [
        "checks"
      ],
      "topics": [
        "fast_distribution_check",
        "fast_distribution_check,inla-method",
        "fast_distribution_check,list-method"
      ]
    },
    {
      "page": "fitted",
      "title": "Extract the fitted values from an INLA model",
      "concept": [
        "statistics"
      ],
      "topics": [
        "fitted,inla-method"
      ]
    },
    {
      "page": "generate_data",
      "title": "Generate dummy data with several distributions",
      "concept": [
        "utils"
      ],
      "topics": [
        "generate_data"
      ]
    },
    {
      "page": "get_anomaly",
      "title": "Get a set of anomalies of the model",
      "concept": [
        "checks"
      ],
      "topics": [
        "get_anomaly",
        "get_anomaly,inla-method"
      ]
    },
    {
      "page": "get_observed",
      "title": "get the observed values from the model object",
      "concept": [
        "statistics"
      ],
      "topics": [
        "get_observed"
      ]
    },
    {
      "page": "plot.dispersion_check",
      "title": "Plot the results from a dispersion check",
      "concept": [
        "utils"
      ],
      "topics": [
        "plot.dispersion_check"
      ]
    },
    {
      "page": "plot.distribution_check",
      "title": "Plot the results from a distribution check",
      "concept": [
        "utils"
      ],
      "topics": [
        "plot.distribution_check"
      ]
    },
    {
      "page": "plot.sim_iid",
      "title": "Plot Simulated Random Intercepts",
      "concept": [
        "priors"
      ],
      "topics": [
        "plot.sim_iid"
      ]
    },
    {
      "page": "plot.sim_rw",
      "title": "Plot Simulated Random Walks",
      "concept": [
        "priors"
      ],
      "topics": [
        "plot.sim_rw"
      ]
    },
    {
      "page": "prec2sd",
      "title": "Convert the posterior marginal of a precision to a standard deviation",
      "topics": [
        "prec2sd"
      ]
    },
    {
      "page": "residuals",
      "title": "Calculate the Residuals From an INLA Model",
      "concept": [
        "statistics"
      ],
      "topics": [
        "residuals,inla-method"
      ]
    },
    {
      "page": "rzanbinom",
      "title": "Zero altered negative binomial",
      "topics": [
        "rzanbinom"
      ]
    },
    {
      "page": "rzapois",
      "title": "Zero-altered Poisson",
      "topics": [
        "rzapois"
      ]
    },
    {
      "page": "rzinbinom",
      "title": "Zero inflated negative binomial",
      "topics": [
        "rzinbinom"
      ]
    },
    {
      "page": "rzipois",
      "title": "Zero-inflated Poisson",
      "topics": [
        "rzipois"
      ]
    },
    {
      "page": "select_change",
      "title": "Select Fast Changing Simulations from an 'sim_rw' Object",
      "concept": [
        "priors"
      ],
      "topics": [
        "select_change"
      ]
    },
    {
      "page": "select_divergence",
      "title": "Select Diverging Simulations from an 'sim_rw' Object",
      "concept": [
        "priors"
      ],
      "topics": [
        "select_divergence"
      ]
    },
    {
      "page": "select_poly",
      "title": "Select Random Walks Best Matching Some Polygon Coefficients",
      "concept": [
        "priors"
      ],
      "topics": [
        "select_poly"
      ]
    },
    {
      "page": "select_quantile",
      "title": "select the quantiles from an 'sim_rw' object",
      "concept": [
        "priors"
      ],
      "topics": [
        "select_quantile"
      ]
    },
    {
      "page": "simulate_iid",
      "title": "simulate data from a second order random walk",
      "concept": [
        "priors"
      ],
      "topics": [
        "simulate_iid"
      ]
    },
    {
      "page": "simulate_rw",
      "title": "simulate data from a second order random walk",
      "concept": [
        "priors"
      ],
      "topics": [
        "simulate_rw"
      ]
    },
    {
      "page": "variance",
      "title": "Variance of the negative binomial distribution",
      "concept": [
        "variance"
      ],
      "topics": [
        "var_nbinom",
        "var_zinbinom1",
        "var_zipois1"
      ]
    }
  ],
  "_readme": "https://github.com/inbo/inlatools/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "fmesher",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "INLA",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "MatrixModels",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "splancs",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "distribution.Rmd",
      "filename": "distribution.html",
      "title": "Checking the Distribution and Dispersion of a Model",
      "author": "Thierry Onkelinx",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generate data",
        "Overdispersion",
        "Fitting the models",
        "Distribution checks",
        "Dispersion checks",
        "Zero inflation",
        "Underdispersion"
      ],
      "created": "2018-12-03 15:37:58",
      "modified": "2022-09-14 12:17:53",
      "commits": 4
    },
    {
      "source": "rwprior.Rmd",
      "filename": "rwprior.html",
      "title": "Getting a Grasp on the Random Walk Hyperparameter",
      "author": "Thierry Onkelinx",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1-D Random walks",
        "Simulating random walks",
        "Inspecting simulated random walks",
        "Summarising and subsetting",
        "Transformations",
        "Centring"
      ],
      "created": "2019-03-08 12:51:32",
      "modified": "2022-09-14 12:17:53",
      "commits": 4
    },
    {
      "source": "prior.Rmd",
      "filename": "prior.html",
      "title": "Setting a Prior for the Random Intercept Variance and Fixed Effects",
      "author": "Thierry Onkelinx",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulating random intercepts",
        "Inspecting simulated random intercepts",
        "Link functions",
        "Centring and quantiles",
        "Priors for fixed effects"
      ],
      "created": "2018-12-03 15:37:58",
      "modified": "2022-09-14 12:17:53",
      "commits": 4
    }
  ],
  "_score": 4.838849090737255,
  "_indexed": false,
  "_nocasepkg": "inlatools",
  "_universes": [
    "thierryo"
  ],
  "_indexurl": "https://inbo.r-universe.dev/inlatools",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.3",
      "date": "2026-10-28T07:25:09.000Z",
      "distro": "resolute",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/ca473fa3ee16e90d5cc0f3f9cd3724c070d377e2d20d2f5bf41b7b987c4e20ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.3",
      "date": "2026-10-28T07:25:23.000Z",
      "distro": "resolute",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/d84ec46315ff21f89716eaabdc8e56da932dcfb7ec47e8fbb5abbefeede79e5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.3",
      "date": "2026-10-28T07:25:36.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/543c3dff44e8fed980260bc573e728b24408a85157c44fe56aaefd8156a08bb0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.3",
      "date": "2026-10-28T07:25:21.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/89b8715ccd841432b49a442e9fec50b8ad944cf8b614bd4c31939c1e509781d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.3",
      "date": "2026-10-28T07:27:16.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/e5b6db617bfea3af899419044be2b4568429b65ca117b025a52f532d4f161d0a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-10-28T07:31:51.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/6c0aabf9dee65f7946cab093204bbf05e1784270a6c871871e952233d2683c9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-10-28T07:27:38.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/b58719285a17458a35c2a0194ca95c4ce8371140725d60625d7ea7593c827ff2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-10-28T07:24:29.000Z",
      "commit": "e711776e8325734557593937c3ef439794e04b7c",
      "fileid": "https://r2.ropensci.org/087fa4ebdcea4b859912ca480ac6c18003e2a766a410df67a81726c689c93d12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/40648936576"
    }
  ]
}