vec_factr: Vectors of Intermediate Factors

View source: R/tmb.R

vec_factrR Documentation

Vectors of Intermediate Factors

Description

Vectors of Intermediate Factors

Usage

vec_factr(model, factr_nms, formula)

Arguments

model

flexmodel object

factr_nms

vector of names of the new intermediate factors

formula

struc-class object describing the vector of intermediate factors. See avail_for_factr for a function that will return the names of all variables that are available for use in these struc-class objects.

Value

updated flexmodel object

See Also

See add_factr to add a single scalar-valued intermediate factor and vec to create a vector-valued struc object.


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