inlabru: Bayesian Latent Gaussian Modelling using INLA and Extensions

Facilitates spatial and general latent Gaussian modeling using integrated nested Laplace approximation via the INLA package (<>). Additionally, extends the GAM-like model class to more general nonlinear predictor expressions, and implements a log Gaussian Cox process likelihood for modeling univariate and spatial point processes based on ecological survey data. Model components are specified with general inputs and mapping methods to the latent variables, and the predictors are specified via general R expressions, with separate expressions for each observation likelihood model in multi-likelihood models. A prediction method based on fast Monte Carlo sampling allows posterior prediction of general expressions of the latent variables. Ecology-focused introduction in Bachl, Lindgren, Borchers, and Illian (2019) <doi:10.1111/2041-210X.13168>.

Version: 2.11.1
Depends: fmesher (≥ 0.1.2), methods, R (≥ 3.6), stats
Imports: dplyr, lifecycle, magrittr, MatrixModels, Matrix, plyr, rlang, sf, sp (≥ 1.4-5), terra, tibble, utils, withr
Suggests: covr, ggmap, ggplot2, graphics, INLA (≥ 23.01.31), knitr, maps, mgcv, patchwork, raster, RColorBrewer, rgl, rmarkdown, scales, shiny, sn, spatstat.geom,, sphereplot, splancs, tidyterra, testthat, tidyr, DiagrammeR
Enhances: stars
Published: 2024-07-01
DOI: 10.32614/CRAN.package.inlabru
Author: Finn Lindgren ORCID iD [aut, cre, cph] (Finn Lindgren continued development of the main code), Fabian E. Bachl [aut, cph] (Fabian Bachl wrote the main code), David L. Borchers [ctb, dtc, cph] (David Borchers wrote code for Gorilla data import and sampling, multiplot tool), Daniel Simpson [ctb, cph] (Daniel Simpson wrote the basic LGCP sampling method), Lindesay Scott-Howard [ctb, dtc, cph] (Lindesay Scott-Howard provided MRSea data import code), Seaton Andy [ctb] (Andy Seaton provided testing, bugfixes, and vignettes), Suen Man Ho [ctb, cph] (Man Ho Suen contributed features for aggregated responses and vignette updates), Roudier Pierre [ctb, cph] (Pierre Roudier contributed general quantile summaries), Meehan Tim [ctb, cph] (Tim Meehan contributed the SVC vignette and robins data), Reddy Peddinenikalva Niharika [ctb, cph] (Niharika Peddinenikalva contributed the LGCP residuals vignette), Perepolkin Dmytro [ctb, cph] (Dmytro Perepolkin contributed the ZIP/ZAP vignette)
Maintainer: Finn Lindgren <finn.lindgren at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: inlabru citation info
Materials: README NEWS
In views: MixedModels
CRAN checks: inlabru results


Reference manual: inlabru.pdf
Vignettes: Articles list
Devel: Customised model components with the bru_mapper system
Defining model components
Nonlinear model approximation
Iterative linearised INLA method
Prediction scores


Package source: inlabru_2.11.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): inlabru_2.11.1.tgz, r-oldrel (arm64): inlabru_2.11.1.tgz, r-release (x86_64): inlabru_2.11.1.tgz, r-oldrel (x86_64): inlabru_2.11.1.tgz
Old sources: inlabru archive

Reverse dependencies:

Reverse depends: PointedSDMs
Reverse imports: bmstdr
Reverse suggests: fmesher, INLAspacetime, MetricGraph, rSPDE


Please use the canonical form to link to this page.