plot.bootStMoMo {StMoMo} | R Documentation |
Plot bootstrapped parameters of a Stochastic Mortality Model
Description
Plot fancharts of bootstrapped parameters of a Stochastic Mortality Model
stored in an object of class "bootStMoMo"
.
Usage
## S3 method for class 'bootStMoMo'
plot(x, nCol = 2, parametricbx = TRUE,
colour = rgb(0, 0, 0),
probs = c(2.5, 10, 25, 50, 75, 90, 97.5), ...)
Arguments
x |
an object of class |
nCol |
number of columns to use in the plot. |
parametricbx |
if |
colour |
colour to use in the fans. |
probs |
probabilities related to percentiles to plot in the fan chart.
The default |
... |
other arguments. |
See Also
Examples
#Long computing times
## Not run:
CBDfit <- fit(cbd(), data = central2initial(EWMaleData),
ages.fit = 55:89)
CBDResBoot <- bootstrap(CBDfit, nBoot = 500)
plot(CBDResBoot)
plot(CBDResBoot, parametricbx = FALSE, probs = seq(2.5, 97.5, 2.5))
## End(Not run)
[Package StMoMo version 0.4.1 Index]