GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kaskr/RTMB: R bindings to TMB

BranchesTags
Open more actions menu

Latest commit

 

History

797 Commits
797 Commits

Folders and files

NameName
Last commit message
Last commit date
CallRTMB
CallRTMB
 
 
RTMB
RTMB
 
 
RTMBode
RTMBode
 
 
design_notes
design_notes
 
 
rtmbTest
rtmbTest
 
 
rtmbXtra
rtmbXtra
 
 
tmb_examples
tmb_examples
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
distr.R
distr.R
 
 

Repository files navigation

RTMB - R bindings for TMB

cran version

Description

The RTMB package provides a native R interface for a substantial subset of TMB so you can avoid coding in C++.

RTMB only affects the TMB function MakeADFun that builds the objective function. Once MakeADFun has been invoked, everything else is exactly the same and models run as fast as if coded in C++.

PROS:

  • Fast to change and re-run models because no compilation is needed.
  • Debugging can be performed using the normal R debugger rather than gdb.
  • Most common TMB features are supported. See current list of working examples.
  • Simplified interface can automatically simulate from the model and calculate OSA residuals.
  • Easy to provide multiple models in one package.
  • Easy to construct a model using functions from external packages and scripts.

More information, including vignettes (introduction / advanced) and documentation, can be found on the RTMB universe page.

Install

CRAN version

install.packages('RTMB')

Development version (Rtools/compiler not needed)

install.packages('RTMB', repos = c('https://kaskr.r-universe.dev', 'https://cloud.r-project.org'))

Source

NOTE: Requires at least TMB-1.9.7.

remotes::install_github("https://github.com/kaskr/RTMB", subdir="RTMB")

Test the package

tinytest::test_package("RTMB")

runs the tests.

Known issues

  • If you get a segfault while installing the package, please re-install Rcpp from source and try again (see #5).

Other packages

Experimental parallel version available as a separate package 'RTMBp'

install.packages('RTMBp', repos = c('https://kaskr.r-universe.dev', 'https://cloud.r-project.org'))

Experimental package to solve ODEs

install.packages('RTMBode', repos = c('https://kaskr.r-universe.dev', 'https://cloud.r-project.org'))

documentation

About

R bindings to TMB

Resources

Readme
License
Activity

Stars

87 stars

Watchers

16 watching

Forks

12 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.