Package: inlatools 0.0.3

Thierry Onkelinx

inlatools: Diagnostic Tools for INLA Models

Several functions which can be useful to choose sensible priors and diagnose the fitted model.

Authors:Thierry Onkelinx [aut, cre], Research Institute for Nature and Forest [cph, fnd]

inlatools_0.0.3.tar.gz
inlatools_0.0.3.zip(r-4.7)inlatools_0.0.3.zip(r-4.6)inlatools_0.0.3.zip(r-4.5)
inlatools_0.0.3.tgz(r-4.6-any)inlatools_0.0.3.tgz(r-4.5-any)
inlatools_0.0.3.tar.gz(r-4.7-any)inlatools_0.0.3.tar.gz(r-4.6-any)
inlatools_0.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
inlatools/json (API)
NEWS

# Install 'inlatools' in R:
install.packages('inlatools', repos = c('https://inbo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/inbo/inlatools/issues

Pkgdown/docs site:https://inbo.github.io

On CRAN:

Conda:

bayesian-statisticsgplv3inlamixed-modelsmodel-checkingmodel-validation

4.73 score 4 stars 89 scripts 26 exports 49 dependencies

Last updated from:e711776e83. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK199
source / vignettesOK244
linux-release-x86_64OK208
macos-release-arm64OK233
macos-oldrel-arm64OK269
windows-develOK183
windows-releaseOK181
windows-oldrelOK177
wasm-releaseOK157

Exports:dgpoissondispersiondispersion_checkdistribution_checkfast_aggregation_checkfast_distribution_checkfittedgenerate_dataget_anomalyget_observedprec2sdresidualsrgpoissonrzanbinomrzapoisrzinbinomrzipoisselect_changeselect_divergenceselect_polyselect_quantilesimulate_iidsimulate_rwvar_nbinomvar_zinbinom1var_zipois1

Dependencies:assertthatclassclassIntclicpp11DBIdplyre1071farverfmeshergenericsggplot2gluegtableINLAisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelspillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2S7scalessfspsplancsstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Checking the Distribution and Dispersion of a Model

Rendered fromdistribution.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2022-09-14
Started: 2018-12-03

Getting a Grasp on the Random Walk Hyperparameter

Rendered fromrwprior.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2022-09-14
Started: 2019-03-08

Setting a Prior for the Random Intercept Variance and Fixed Effects

Rendered fromprior.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2022-09-14
Started: 2018-12-03

Readme and manuals

Help Manual

Help pageTopics
The generalised Poisson distributiondgpoisson rgpoisson
Calculate a measure for dispersiondispersion
Use simulations to check for overdispersion or underdispersiondispersion_check dispersion_check,inla-method
Use simulations to compare the observed distribution with the modelled distributiondistribution_check distribution_check,inla-method
Fast aggregation check Compare the observed and modelled aggregated values.fast_aggregation_check fast_aggregation_check,inla-method
Use simulations to compare the observed distribution with the modelled distributionfast_distribution_check fast_distribution_check,inla-method fast_distribution_check,list-method
Extract the fitted values from an INLA modelfitted,inla-method
Generate dummy data with several distributionsgenerate_data
Get a set of anomalies of the modelget_anomaly get_anomaly,inla-method
get the observed values from the model objectget_observed
Plot the results from a dispersion checkplot.dispersion_check
Plot the results from a distribution checkplot.distribution_check
Plot Simulated Random Interceptsplot.sim_iid
Plot Simulated Random Walksplot.sim_rw
Convert the posterior marginal of a precision to a standard deviationprec2sd
Calculate the Residuals From an INLA Modelresiduals,inla-method
Zero altered negative binomialrzanbinom
Zero-altered Poissonrzapois
Zero inflated negative binomialrzinbinom
Zero-inflated Poissonrzipois
Select Fast Changing Simulations from an 'sim_rw' Objectselect_change
Select Diverging Simulations from an 'sim_rw' Objectselect_divergence
Select Random Walks Best Matching Some Polygon Coefficientsselect_poly
select the quantiles from an 'sim_rw' objectselect_quantile
simulate data from a second order random walksimulate_iid
simulate data from a second order random walksimulate_rw
Variance of the negative binomial distributionvar_nbinom var_zinbinom1 var_zipois1