## Not run:
#
# ##= load the NCC example ==================================
# setDALYexample(1)
#
# ##= perform DALY calculation, store results in 'x' ========
# x <- getDALY()
#
# ##= store simulations aggregated by =======================
# ##= outcome and age/sex class =========================
# y <- aggregate(x, by = "total")
#
# summary(y$DALY) # default summary of total DALYs =========
# hist(y$deaths) # default histogram of total deaths ======
# ## End(Not run)
Run the code above in your browser using DataLab