sdmTMBextra is an R package with extra utilities for working with sdmTMB models. Functionality includes:
- Sampling with MCMC using rstan/tmbstan
- Spatial correlation barriers with SPDE meshes based on utilities from INLA
The package was developed to reduce heavier package dependencies within the main sdmTMB package.
You can install sdmTMBextra with:
# install.packages("remotes")
remotes::install_github("pbs-assess/sdmTMBextra", dependencies = TRUE)
See the examples within the help files and the main sdmTMB vignettes (under 'Articles').
Always load the sdmTMBextra package after sdmTMB