model_totals: Model Totals

View source: R/utils_model_output_helpers.R

model_totalsR Documentation

Model Totals

Description

Get the total value generated by the model for a given treatment. Can be used to calculate for referrals, treatments etc.

Usage

model_totals(model_output, type, treatment)

Arguments

model_output

output from run_model() and get_model_output()

type

a character vector of the "type" to total

treatment

a name of a treatment to filter by

Value

a comma-formatted number for the total for that type/treatment


The-Strategy-Unit/723_mh_covid_surge_modelling documentation built on April 13, 2022, 8:52 a.m.