summary.bayesLife.prediction | R Documentation |
Country-specific summary of an object of class bayesLife.prediction
, created using the function e0.predict
. The summary contains the mean, standard deviation and several commonly used quantiles of the simulated trajectories.
## S3 method for class 'bayesLife.prediction'
summary(object, country = NULL, compact = TRUE, ...)
object |
Object of class |
country |
Country name or code. |
compact |
Logical switching between a smaller and larger number of displayed quantiles. |
... |
Not used. |
Hana Sevcikova
bayesLife.prediction
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.