View source: R/cost_effectiveness.R
public_health_outcome | R Documentation |
Uses the provided proportion to calculate the number of different cases from the incidence data. The expected proportion of each case needs to be provided by the user and is likely to be country/disease specific.
public_health_outcome(proportion, incidence, no_risk_groups = NULL, no_age_groups = NULL)
proportion |
The expected proportion of cases resulting in hospitalisations.
This can be a constant value for each age/risk groups, or a vector with the proportion for each age/risk group. Finally if
either no_risk_groups or no_age_groups is specified it can also be a vector with the proportion by risk groups or by age group.
Finally it can also be a list with different proportions for different outcomes, e.g. |
incidence |
Vector containing the expected incidence for each age/risk group as returned by for example |
no_risk_groups |
The total number of risk groups (optional) |
no_age_groups |
The total number of age groups (optional) |
A vector with the number of hospitalisations for each age/risk group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.