Description Usage Arguments Details See Also Examples
View source: R/QALY_survival.R
TODO: use expected QALY over (all-cause) life-table survival probabilities.
1 2 | QALY_survival(utility = NA, gender = NA, age = NA, start_delay = 0,
discount_rate = 0.035, utility_method = "add")
|
utility |
Vector of values between 0 and 1 (1 - utility loss) |
age |
Year of age |
start_delay |
What time delay to origin, to shift discounting |
discount_rate |
default 3.5% |
utility_method |
Should the yearly QALYs be summed to a scalar? |
intervals |
Time intervals for each utility |
Uses the following formula:
QALY = \int_0^∞ S(t) u(t) dt \approx ∑_0^100 S(t) u(t)
calc_QALY_population
total_QALYs
1 2 3 | calc_QALY(utility = 0.9,
age = 13,
intervals = 49)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.