The goal of this example is to demonstrate how to setup a modular TMB model. This example replicates the standalone logisticGrowth example in this repository using a modular framework.
The logisticGrowth modular example uses the following file structure:
model.hpp: Sets up logisticGrowth C++ templated class
DerivedQuantities.hpp -Example of including functions that calculate derived quantities
logisticGrowth.cpp: TMB interface with model.hpp
logisticGrowth.tpl: ADMB interface with model.hpp
modular_demo.R: I/O R Interface