R arm of morie.fn.cdyll and hecea. Cdyll: years of life
lost, the sum of deaths times remaining life expectancy at the age of death
(undiscounted). Hecea: percentage of joint (cost, effect) differences
in each quadrant of the cost-effectiveness plane.
Usage
Cdyll(deaths, life_expectancy_remaining)
Hecea(cost_diffs, effect_diffs)
Arguments
- deaths
Deaths by age group.
- life_expectancy_remaining
Remaining life expectancy at those ages.
- cost_diffs, effect_diffs
Simulated incremental costs and effects.
Value
A named list (the Python result's fields).
References
Murray, C. J. L. (1994). Quantifying the burden of disease. Bulletin of the World Health Organization 72, 429-445.
Black, W. C. (1990). The CE plane. Medical Decision Making 10, 212-214.
Examples
Cdyll(c(2, 1, 3), c(30.5, 12, 4))$estimate
#> [1] 85
Hecea(c(1, -2, 3, 0.5), c(0.1, 0.2, -0.3, 0.4))$value
#> $NE
#> [1] 50
#>
#> $NW
#> [1] 25
#>
#> $SE
#> [1] 25
#>
#> $SW
#> [1] 0
#>