Plot forecasts from a functional demographic modell
Type of plot depends on value of plot.type
:
plot.type="function"
produces a plot of the forecast functions;
plot.type="components"
produces a plot of the basis functions and coefficients with forecasts and prediction intervals for each coefficient;
plot.type="variance"
produces a plot of the variance components.
## S3 method for class 'fmforecast' plot(x, plot.type = c("function", "component", "variance"), vcol = 1:4, mean.lab = "Mean", xlab2 = "Year", h = 1, ...) ## S3 method for class 'lca' plot(x, ...)
x |
Output from |
plot.type |
Type of plot. See details. |
vcol |
Colors to use if |
mean.lab |
Label for mean component. |
xlab2 |
x-axis label for coefficient time series. |
h |
If |
... |
Other arguments are passed to |
None. Function produces a plot
Rob J Hyndman
france.fcast <- forecast(fdm(fr.mort)) plot(france.fcast) plot(france.fcast,"c") plot(france.fcast,"v")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.