method = "arima"), an AR model (method = "ar"),
an exponential smoothing method (method = "ets"), a linear exponential smoothing
method allowing missing values (method = "ets.na"), or a random walk with drift model
(method = "rwdrift"). The forecast coefficients are then multiplied by the principal
components to obtain a forecast curve.ftsmiterativeforecasts(object, components, iteration = 20)fts containing point forecasts.fts containing lower bound for prediction intervals.fts containing upper bound for prediction intervals.fts of one-step-ahead forecasts for historical data.fts of one-step-ahead errors for historical data.forecast containing the coefficients and their forecasts.ftsm model.ftsm, plot.ftsf, plot.fm, residuals.fm, summary.fmftsmiterativeforecasts(Australiasmoothfertility, components = 2, iteration = 5)Run the code above in your browser using DataLab