Description Usage Arguments See Also Examples
View source: R/plotforStMoMo.R
Plot a forecasted Stochastic Mortality Model of class "forStMoMo"
.
1 2 3 |
x |
an object of class |
nCol |
number of columns to use in the plot. |
parametricbx |
if |
only.kt |
If |
only.gc |
If |
colour |
colour to use in the prediction intervals. |
... |
additional arguments to control graphical appearance.
See |
1 2 3 4 5 6 7 | wxt <- genWeightMat(55:89, EWMaleData$years, clip = 3)
APCfit <- fit(apc(), data = EWMaleData, ages.fit = 55:89, wxt = wxt)
APCfor <- forecast(APCfit)
plot(APCfor)
plot(APCfor, parametricbx = FALSE, nCol = 3)
plot(APCfor, only.kt = TRUE)
plot(APCfor, only.gc = TRUE, lwd = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.