Helper function to take output from surge_summary and produce a table of data for display in the surge tabs.
surge_table(model_output, column, column_name)
| model_output | output from |
|---|---|
| column | the column in `model_output` to calculate the summary for, either "group", "condition" or "treatment" |
| column_name | what to name the |
a tibble with more descriptive column names