tmb_params_trans: Parameter Vectors Transformed for TMB

View source: R/tmbutils.R

tmb_params_transR Documentation

Parameter Vectors Transformed for TMB

Description

TODO: this should not be user-facing

Usage

tmb_params_trans(model, vec_type = c("tmb_fun_arg", "params", "tv_mult"))

Arguments

model

flexmodel

vec_type

type of vector to return: (1) tmb_fun_arg = same length as the argument for TMB objective function, (2) params = same length as the params element in model (3) tv_mult = same length as the model$timevar$piece_wise$schedule$init_tv_mult


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.