sdmTMB: Spatial and Spatiotemporal SPDE-Based GLMMs with 'TMB'

Implements spatial and spatiotemporal GLMMs (Generalized Linear Mixed Effect Models) using 'TMB', 'fmesher', and the SPDE (Stochastic Partial Differential Equation) Gaussian Markov random field approximation to Gaussian random fields. One common application is for spatially explicit species distribution models (SDMs). See Anderson et al. (2024) <doi:10.1101/2022.03.24.485545>.

Version: 0.6.0
Depends: R (≥ 3.5.0)
Imports: assertthat, clisymbols, cli, fmesher, fishMod, generics, graphics, lifecycle, lme4, Matrix, methods, mgcv, mvtnorm, nlme, rlang, stats, TMB (≥ 1.8.0)
LinkingTo: RcppEigen, TMB
Suggests: DHARMa, dplyr, effects (≥ 4.0-1), estimability, emmeans (≥ 1.4), future, future.apply, ggeffects, ggforce, glmmTMB, ggplot2, knitr, rmarkdown, sf, splancs, testthat, tibble, visreg
Published: 2024-05-30
DOI: 10.32614/CRAN.package.sdmTMB
Author: Sean C. Anderson ORCID iD [aut, cre], Eric J. Ward ORCID iD [aut], Philina A. English ORCID iD [aut], Lewis A. K. Barnett ORCID iD [aut], James T. Thorson ORCID iD [aut, cph] (VAST author), Joe Watson [ctb] (Censored Poisson), Julia Indivero [ctb] (Vignette writing), Jillian C. Dunic ORCID iD [ctb], Cole C. Monnahan ORCID iD [ctb, cph] (VAST contributor), Mollie Brooks ORCID iD [ctb, cph] (glmmTMB author), Ben Bolker ORCID iD [ctb, cph] (glmmTMB author), Kasper Kristensen [ctb, cph] (TMB/glmmTMB author), Martin Maechler ORCID iD [ctb, cph] (glmmTMB author), Arni Magnusson ORCID iD [ctb, cph] (glmmTMB author), Hans J. Skaug [ctb, cph] (glmmTMB author, SPDE barrier), Anders Nielsen ORCID iD [ctb, cph] (glmmTMB author), Casper Berg ORCID iD [ctb, cph] (glmmTMB author), Koen van Bentham [ctb, cph] (glmmTMB author), Olav Nikolai Breivik [ctb, cph] (SPDE barrier), Simon Wood [ctb, cph] (mgcv: smoother prediction), Paul-Christian B├╝rkner [ctb, cph] (brms: smoother matrix parsing), His Majesty the King in Right of Canada, as represented by the Minister of the Department of Fisheries and Oceans [cph]
Maintainer: Sean C. Anderson <sean at>
License: GPL-3
Copyright: inst/COPYRIGHTS
sdmTMB copyright details
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: sdmTMB citation info
Materials: NEWS
In views: SpatioTemporal
CRAN checks: sdmTMB results


Reference manual: sdmTMB.pdf
Vignettes: sdmTMB model description


Package source: sdmTMB_0.6.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sdmTMB_0.6.0.tgz, r-oldrel (arm64): sdmTMB_0.6.0.tgz, r-release (x86_64): sdmTMB_0.6.0.tgz, r-oldrel (x86_64): sdmTMB_0.6.0.tgz
Old sources: sdmTMB archive

Reverse dependencies:

Reverse suggests: ggeffects


Please use the canonical form to link to this page.