print.DALY: Print method for class 'DALY'

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Print summary of DALY Calculator output aggregated by age/sex class.

Usage

1
2
3
## S3 method for class 'DALY'
print(x, relative = FALSE, outcomes = FALSE,
     prob = 0.95, digits = 0, ...)

Arguments

x

Object of class 'DALY'

relative

Show results per 1000 population? See details below

outcomes

Show results per outcome? See details below

prob

Probability span by printed credibility intervals; defaults to 0.95

digits

Number of decimals to be printed; defaults to 0

...

Additional arguments to be passed to print

Details

The standard print 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 print 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.

Value

print.DALY returns a list containg the following elements:

total

Matrix containing mean, median and prob credible interval of total DALYs, YLDs, YLLs, cases and deaths

outcomes

Named list, containing matrices of DALYs, YLDs, YLLs, cases and deaths for each health outcome

pct

Vector of contribution of YLDs and YLLs to overall DALYs

Author(s)

brechtdv@gmail.com

See Also

summary.DALY, aggregate.DALY

DALYcalculator (for a brief description of the DALY Calculator)
DALYmanual (for a more comprehensive overview)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 

##= load the NCC example ==================================
setDALYexample(1)

##= perform DALY calculation, store results in 'x' ========
x <- getDALY()

##= view the DALY calculation results =====================
print(x)                   # absolute, total ==============
print(x, prob = .90)       # absolute, total (90% CrI) ====
print(x, relative = TRUE)  # relative (ie, per 1000 pop) ==
print(x, outcomes = TRUE)  # outcome-wise =================

## End(Not run)

DALY documentation built on May 2, 2019, 12:19 p.m.