RTMB: 'R' Bindings for 'TMB'

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.6
Imports: Rcpp (≥ 1.0.9), Matrix, methods, TMB (≥ 1.9.7), MASS
LinkingTo: Rcpp, TMB, RcppEigen
Suggests: knitr, rmarkdown, igraph, tinytest, numDeriv
Published: 2024-09-11
DOI: 10.32614/CRAN.package.RTMB
Author: Kasper Kristensen ORCID iD [aut, cre]
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

Documentation:

Reference manual: RTMB.pdf
Vignettes: Details behind the AD Tape (source, R code)
Introduction to RTMB (source, R code)

Downloads:

Package source: RTMB_1.6.tar.gz
Windows binaries: r-devel: RTMB_1.6.zip, r-release: RTMB_1.6.zip, r-oldrel: RTMB_1.6.zip
macOS binaries: r-release (arm64): RTMB_1.6.tgz, r-oldrel (arm64): RTMB_1.6.tgz, r-release (x86_64): RTMB_1.6.tgz, r-oldrel (x86_64): RTMB_1.6.tgz
Old sources: RTMB archive

Reverse dependencies:

Reverse depends: ecostate, LaMa

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RTMB to link to this page.