Spatial and Spatiotemporal SPDE-Based GLMMs with 'TMB'
Transform a mesh object into a mesh with correlation barriers
Extract parameter simulations from the joint precision matrix
Calculate a population index via simulation from the joint precision m...
Extract a relative biomass/abundance index, center of gravity, or effe...
Get TMB parameter list
Check if ggplot2 installed
Run extra optimization on an already fitted object
Sanity check of an sdmTMB model
Cross validation with sdmTMB models
Simulate from a spatial/spatiotemporal model
Plot sdmTMB models with the visreg
package
Replicate a prediction data frame over time
Residuals method for sdmTMB models
Add UTM coordinates to a data frame
Calculate conditional AIC
Get fixed-effect coefficients
DHARMa residuals
Calculate effects
Estimated marginal means with the emmeans
package with sdmTMB
Extract MCMC samples from a model fit with tmbstan
.
Additional families
Construct an SPDE mesh for sdmTMB
Plot anisotropy from an sdmTMB model
Plot PC Matérn priors
Plot a smooth term from an sdmTMB model
Predict from an sdmTMB model
Prior distributions
Project from an sdmTMB
model using simulation
Objects exported from other packages
Perform stacking with log scores on sdmTMB_cv()
output
Fit a spatial or spatiotemporal GLMM with TMB
Optimization control options
Set delta model for ggeffects::ggpredict()
Simulate from a fitted sdmTMB model
Example fish survey data
Turn sdmTMB model output into a tidy data frame
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>.
Useful links