wrapper_run_TMB: Function to run the model using TMB

View source: R/DA_functions.R

wrapper_run_TMBR Documentation

Function to run the model using TMB

Description

Function to run the model using TMB

Usage

wrapper_run_TMB(
  model,
  object = NULL,
  smart_init_vals = T,
  use_nlminb = F,
  initial_params = NULL
)

Arguments

model:

name of model

object:

object of type exposures_inputTMB (including X, Y, Z)

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


lm687/CompSign documentation built on Feb. 1, 2024, 4:41 p.m.