Add a variable that will be available for comparisons with observed data that is created by processing an existing variable in the simulation history by convolving it with a gamma density.
add_conv(
model,
var_pattern,
c_prop = "c_prop",
c_delay_cv = "c_delay_cv",
c_delay_mean = "c_delay_mean"
)
flexmodel
object
regular expression used to identify variables for
convolutions. See avail_for_conv
for a function that will
return the names of all variables that are available for convolution.
name of the parameter in the params
vector associated
with the proportion of individuals in the original state variable that are
represented in the convolved variable
name of the parameter in the params
vector
associated with the coefficient of variation of the gamma density
name of the parameter in the params
vector
associated with the mean of the gamma density