sim.dir <- file.path(find.package("bayesLife"), "ex-data", "bayesLife.output")
pred <- get.e0.prediction(sim.dir=sim.dir)
summary(pred, country="Iceland")
# names and codes of countries included
tail(get.countries.table(pred, iso = TRUE), 20)
# using an ISO code
summary(pred, country="CHE")
Run the code above in your browser using DataLab