Find out what variables are available for particular functions that add variables to a model, based on existing variables.

avail_for_rate(model)

avail_for_sum(model)

avail_for_factr(model)

avail_for_pow(model)

avail_for_expr(model)

avail_for_conv(model)

avail_for_lag(model)

Arguments

model

a flexmodel object

Value

A character vector of names of variables that are available as input into the specified type of model component.

Details

avail_for_rate

add_rate,rep_rate,vec_rate

avail_for_sum

add_state_param_sum

avail_for_factr

add_factr,vec_factr

avail_for_expr

add_sim_report_expr

avail_for_lag

add_lag_diff

avail_for_conv

add_conv

Examples

avail_for_conv(make_hello_world_model())
#> [1] "S"      "I"      "R"      "S_to_I"