Helper function used to filter results of the model output for use in plots and tables
summarise_model_output(model_output, type, treatments)
| model_output | output from |
|---|---|
| type | the row "type" to filter by |
| treatments | the list of treatments to filter model_output by |
a filtered and summarised version of model_output