update_condense_map: Specify and Name Variables for Condensation

View source: R/tmb.R

update_condense_mapR Documentation

Specify and Name Variables for Condensation

Description

The condensed simulation is a (possibly renamed) subset of the variables in the simulation history. This function allows one to define this subset and how it is renamed, by creating a map with the following structure: c(orig_var_i = "cond_var_1", ..., orig_var_j = "cond_var_n").

Usage

update_condense_map(model, map = NULL)

Arguments

model

flexmodel object

map

named vector with names that are a subset of the variables in the simulation model. if NULL the identity map is used that makes all simulation history variables available without name changes. (final_sim_report_names(model)) and values that give the names of the variables in the condensed data set


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