Calculates the total surge generated by the model for the provided column.

surge_summary(model_output, column)

Arguments

model_output

output from run_model() and get_model_output()

column

the column in `model_output` to calculate the summary for, either "group", "condition" or "treatment"

Value

a tibble containing a row per group/condition/treatment and the total value generated by the model