Description Usage Arguments Examples
View source: R/plotfitStMoMo.R
Plot fitted parameters of a stochastic mortality model of class
"fitStMoMo"
.
1 2 |
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 |
1 2 3 4 5 6 7 8 9 10 | #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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.