summary-prediction: Summary of a Prediction of the Life Expectancy

Description Usage Arguments Author(s) See Also Examples

Description

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.

Usage

1
2
## S3 method for class 'bayesLife.prediction'
summary(object, country = NULL, compact = TRUE, ...)

Arguments

object

Object of class bayesLife.prediction.

country

Country name or code.

compact

Logical switching between a smaller and larger number of displayed quantiles.

...

Not used.

Author(s)

Hana Sevcikova

See Also

bayesLife.prediction

Examples

1
2
3
sim.dir <- file.path(find.package("bayesLife"), "ex-data", "bayesLife.output")
pred <- get.e0.prediction(sim.dir=sim.dir)                                                    
summary(pred, country="Iceland")

bayesLife documentation built on April 5, 2021, 5:06 p.m.