wrapper_run_TMB | R Documentation |
Function to run the model using TMB
wrapper_run_TMB(
model,
object = NULL,
smart_init_vals = T,
use_nlminb = F,
initial_params = NULL
)
model: |
name of model: Options: fullRE_M, diagRE_M, FE_DM, fullRE_DM, fullRE_DMonefixedlambda, diagRE_DM, fullRE_DM_singlelambda, singleRE_DM, fullREhalfDM, diagRE_DM_singlelambda, FE_DM_singlelambda, fullRE_multinomial_REv2, diagRE_DM_patientlambda, fullRE_DM_patientlambda |
object: |
object of type exposures_inputTMB (including X, Y, Z). See <simplified_object> as an example. |
smart_init_vals: |
boolean, whether a fixed-effects multinomial regression should be run first to get initial estimates |
use_nlminb: |
boolean, whether <nlminb> should be used for estimation. Alternatively, <optim> is used |
initial_params: |
(optional) list of initial parameters for estimation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.