powered by
predict.FSR
# S3 method for FSR predict(object, newdata, model_to_use = NULL, standardize = NULL, noisy = TRUE, ...)
FSR output. Predictions will be made based on object$best_formula unless model_to_use is provided (as an integer).
New Xdata.
Integer optionally indicating a model to use if object$best_formula is not selected. Example: model_to_use = 3 will use object$models$formula[3].
Logical--standardize numeric variables? (If NULL, the default, bypasses and decides based on object$standardize.)
Display output?
ignore
y_hat (predictions using chosen model estimates).
# NOT RUN { out <- FSR(mtcars[1:30,]) forecast <- predict(out, mtcars[31:nrow(mtcars),]) # }
Run the code above in your browser using DataLab