View source: R/utils_model_output_helpers.R
model_totals | R Documentation |
Get the total value generated by the model for a given treatment. Can be used to calculate for referrals, treatments etc.
model_totals(model_output, type, treatment)
model_output |
output from |
type |
a character vector of the "type" to total |
treatment |
a name of a treatment to filter by |
a comma-formatted number for the total for that type/treatment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.