# Summarize model outcomes

Source: `R/utils.R`
`summarize_outcomes.Rd`

Summarize clinical and economic outcomes from the simulation.

    summarize_outcomes(econmod, prod_costs = NULL, dr_qalys, dr_costs,
      wtp = 150000, digits_qalys = 2, digits_costs = 0, prob = 0.95,
      strategy_names = NULL)

## Arguments

econmod | An economic model of class "IndivCtstm" from the hesim package. QALYs and costs must have been previously simulated (i.e., $qalys_ and $costs_ cannot be NULL).
prod_costs | An object of class "prod_costs" simulated using `sim_prod_costs`.
dr_qalys | Discount rate for QALYs.
dr_costs | Discount rate for costs.
wtp | Willingness to pay for a QALY.
digits_qalys | Number of digits to use to report QALYs.
digits_costs | Number of digits to use to report costs.
prob | A numeric scalar in the interval `(0,1)` giving the credible interval. Default is 0.95 for a 95 percent credible interval.
strategy_names | A character vector denoting names of treatment strategies.

## Value

A `data.table` summarizing model outcomes.

## See also

See the example in the tutorial.