tmbstan: MCMC Sampling from 'TMB' Model Object using 'Stan'
Enables all 'rstan' functionality for a 'TMB' model object, in particular MCMC sampling and chain visualization. Sampling can be performed with or without Laplace approximation for the random effects. This is demonstrated in Monnahan & Kristensen (2018) <doi:10.1371/journal.pone.0197954>.
| Version: |
1.1.0 |
| Depends: |
R (≥ 4.5.0), rstan |
| Imports: |
methods, Rcpp, TMB |
| LinkingTo: |
StanHeaders, rstan, BH, Rcpp, RcppEigen, TMB, RcppParallel |
| Suggests: |
RTMB |
| Published: |
2026-03-20 |
| DOI: |
10.32614/CRAN.package.tmbstan |
| Author: |
Kasper Kristensen [aut, cre] |
| Maintainer: |
Kasper Kristensen <kaskr at dtu.dk> |
| BugReports: |
https://github.com/kaskr/tmbstan/issues |
| License: |
GPL (≥ 3) |
| NeedsCompilation: |
yes |
| SystemRequirements: |
GNU make |
| Citation: |
tmbstan citation info |
| Materials: |
NEWS |
| In views: |
MixedModels |
| CRAN checks: |
tmbstan results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=tmbstan
to link to this page.