## load the Neurocysticercosis example
setDALYexample(1)
## initiate the Monte Carlo simulation process
## and store results in object '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 DeathsRun the code above in your browser using DataLab