Plot fitted parameters from a stochastic mortality model
Plot fitted parameters of a stochastic mortality model of class
"fitStMoMo"
.
## S3 method for class 'fitStMoMo' plot(x, nCol = 2, parametricbx = TRUE, type = "l", ...)
x |
an object of class |
nCol |
number of columns to use in the plot. |
parametricbx |
if |
type |
what type of plot should be drawn. See
|
... |
additional arguments to control graphical appearance.
See |
#Fit and plot a Lee-Carter model LCfit <- fit(lc(), data = EWMaleData, ages.fit = 55:89) plot(LCfit) plot(LCfit, type = "p", pch = 19) #Fit and plot a CBD model CBDfit <- fit(cbd(), data = central2initial(EWMaleData), ages.fit = 55:89) plot(CBDfit) plot(CBDfit, parametricbx = FALSE) plot(CBDfit, nCol = 1, parametricbx = FALSE, lwd = 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.