Native 'R' interface to 'TMB' (Template Model Builder) so models can be written entirely in 'R' rather than 'C++'. Automatic differentiation, to any order, is available for a rich subset of 'R' features, including linear algebra for dense and sparse matrices, complex arithmetic, Fast Fourier Transform, probability distributions and special functions. 'RTMB' provides easy access to model fitting and validation following the principles of Kristensen, K., Nielsen, A., Berg, C. W., Skaug, H., & Bell, B. M. (2016) <doi:10.18637/jss.v070.i05> and Thygesen, U.H., Albertsen, C.M., Berg, C.W. et al. (2017) <doi:10.1007/s10651-017-0372-4>.
| Version: | 1.8 |
| Imports: | Rcpp (≥ 1.0.9), Matrix, methods, TMB (≥ 1.9.7), MASS |
| LinkingTo: | Rcpp, TMB, RcppEigen |
| Suggests: | knitr, rmarkdown, igraph, tinytest, numDeriv |
| Published: | 2025-10-14 |
| DOI: | 10.32614/CRAN.package.RTMB |
| Author: | Kasper Kristensen |
| Maintainer: | Kasper Kristensen <kaskr at dtu.dk> |
| BugReports: | https://github.com/kaskr/RTMB/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/kaskr/RTMB |
| NeedsCompilation: | yes |
| In views: | MixedModels |
| CRAN checks: | RTMB results [issues need fixing before 2026-03-23] |
| Reference manual: | RTMB.html , RTMB.pdf |
| Vignettes: |
Details behind the AD Tape (source, R code) Introduction to RTMB (source, R code) |
| Package source: | RTMB_1.8.tar.gz |
| Windows binaries: | r-devel: RTMB_1.8.zip, r-release: RTMB_1.8.zip, r-oldrel: RTMB_1.8.zip |
| macOS binaries: | r-release (arm64): RTMB_1.8.tgz, r-oldrel (arm64): RTMB_1.8.tgz, r-release (x86_64): RTMB_1.8.tgz, r-oldrel (x86_64): RTMB_1.8.tgz |
| Old sources: | RTMB archive |
| Reverse depends: | ecostate, fishgrowth, LaMa, RTMBdist |
| Reverse imports: | ctsmTMB, dsem, multiSA, PKbioanalysis, pmrm, salmonMSE, tsissm |
Please use the canonical form https://CRAN.R-project.org/package=RTMB to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.