##= load NCC example ======================================
setDALYexample(1)
##= perform DALY calculation, store results in 'x' =======
x <- getDALY()
##= plot histogram of total deaths ========================
##= + show 90% credible interval & median =================
hist(x, xval = "deaths", prob = 0.90, central = "median")Run the code above in your browser using DataLab