Learn R Programming

DALY (version 1.5.0)

summary.DALY: Summary method for class 'DALY'

Description

Print summary of DALY Calculator output per age/sex class.

Usage

"summary"(object, relative = FALSE, outcomes = FALSE, digits = 0, ...)

Arguments

object
Object of class 'DALY'
relative
Show results per 1000 population? See details below
outcomes
Show results per outcome? See details below
digits
Number of decimals to be printed; defaults to 0
...
Additional arguments to be passed to summary

Value

summary.DALY returns a list containg the following elements:

Details

The standard summary method gives the absolute number of DALYs, YLDs, YLLs, cases and deaths. By specifying relative = TRUE, the number of DALYs, YLDs, YLLs, cases and deaths per 1,000 population will be shown.

The standard summary method gives the number of DALYs, YLDs, YLLs, cases and deaths aggregated over all health outcomes. By specifying outcomes = TRUE, the number of DALYs, YLDs, YLLs, cases and deaths for each outcome will be shown as well.

See Also

print.DALY, aggregate.DALY DALYcalculator (for a brief description of the DALY Calculator) DALYmanual (for a more comprehensive overview)

Examples

Run this code
## Not run: 
# 
# ##= load the NCC example ==================================
# setDALYexample(1)
# 
# ##= perform DALY calculation, store results in 'x' ========
# x <- getDALY()
# 
# ##= view the DALY calculation results =====================
# summary(x)                   # absolute, total ============
# summary(x, relative = TRUE)  # relative (ie, per 1000) ====
# summary(x, outcomes = TRUE)  # outcome-wise ===============
# ## End(Not run)

Run the code above in your browser using DataLab