fplsr(data, order = 6, type = c("simpls", "nipals"), unit.weights =
TRUE, weight = FALSE, beta = 0.1, interval = FALSE, method =
c("delta", "boota"), alpha = 0.05, B = 100, adjust = FALSE,
backh = 10)(ncol(data$y)-1) x order matrix containing the predictor scores.(ncol(data$y)-1) x order matrix containing the response scores.fts containing the column means of predictors.fts containing the column means of responses.fts containing the 1-step-ahead predicted values of the responses.fts containing the fitted values.fts containing the regression residuals.weight = TRUE, a set of geometrically decaying weights is given. When weight = FALSE, weights are all equal 1.fts object, which can be obtained from colnames(data$y).fts object, which can be obtained from data$x.ftsm, forecast.ftsm, plot.fm,
summary.fm, residuals.fm, plot.fmresfplsr(ElNino, type = "nipals")
fplsr(ElNino)
fplsr(ElNino, weight = TRUE)
fplsr(ElNino, unit.weights = FALSE)
fplsr(ElNino, unit.weights = FALSE, weight = TRUE)
fplsr(ElNino, interval = TRUE, method = "delta")
fplsr(ElNino, interval = TRUE, method = "boota")Run the code above in your browser using DataLab