Calculate Years of Life Lost (YLL), Years Lost due to Disability (YDD), and Disability-Adjusted Life Year (DALY)
1 2 3 4 | calculateDALY(outcomeData, refLifeExpectancy, disabilityWeight = 0.5,
outcomeDisabilityWeight = 1, minTimeAtRisk = 1,
observeStartYr = NULL, observeEndYr = NULL, discount = 0.3,
ageWeighting = TRUE, outputFolder)
|
outcomeData |
outcomeData generated by Argos package. |
refLifeExpectancy |
reference life expectancy data to calculate YDD. The default life expectancy table is provided and can be loaded via loadLifeExpectancy function |
disabilityWeight |
disability weight for the certain condition of plpData to calculate YLD. if this is 0, YLD is 0. It should be float value (0~1). |
outcomeDisabilityWeight |
Disability weight for outcome. If the outcome is death, then disability weight should be 1. It should be float value (0~1). |
minTimeAtRisk |
time at risk (days). usually it should be identical to the minTAR of plpData |
observeStartYr |
From which year, the observation of DALY should be started? |
observeEndYr |
Until which year, the observation of DALY should be ended? |
discount |
discount value, float(0~1). default value is 0.3. |
outputFolder |
outputFolder |
ageWeghting |
logical value (TRUE or FALSE). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.