
Years of Life Lost (YLL) calculation
yll.Rd
Years of Life Lost (YLL) calculation
Usage
yll(
Dx,
type = c("yll", "yll.p", "yll.r", "asyr"),
age.int = 5,
Dx_all = NULL,
pop = NULL,
w = NULL
)
Arguments
- Dx
Array with the number of deaths.
- type
Character. Type of YLL to calculate. See details section.
- age.int
Numeric. Age interval of Dx. Can be
1
or5
.- Dx_all
Array with the number of all deaths. Used only with
yll.p
type, whereDx
is array with cause-specific deaths.- pop
Array with population. Used only with
yll.r
andasyr
types.- w
Array with population weights for direct standardization. Used only with
asyr
type.
Details
Possible YLL types:
Absolute number of YLL -
yll
type.YLL as proportion -
yll.p
type.YLL rate -
yll.r
type.Age-standardized YLL rate -
asyr
type. For more details see github page.