The function formats mosquito-related model outputs as a long data frame.
Usage
format_output_M(x, var_select = NULL, keep = NULL)
Arguments
- x
Zika_model_simulation object.
- var_select
Vector of mosquito compartment names,
e.g. c("Lwt", "Mwt_S", "Mwb_E1")
, or mosquito-related variables,
e.g. c("Kc", "Delta", "R0t_1")
.
- keep
name of variable to stratify by
(only allowed "patch"
. Default is no stratification)
Value
Formatted long data.frame