# A set of functions are decomposed by functional partial least squares decomposition.
# By forecasting univariate partial least squares scores, the forecasted curves are obtained by multiplying the forecasted scores by fixed functional partial least squares function plus fixed mean function.
forecastfplsr(Australiasmoothfertility, h = 5)Run the code above in your browser using DataLab