predict.pcr | R Documentation |
This function performs prediction from an elastic pcr regression model with phase-variability
## S3 method for class 'pcr'
predict(object, newdata = NULL, y = NULL, ...)
object |
Object of class inheriting from "elastic.pcr.regression" |
newdata |
An optional matrix in which to look for variables with which to predict. If omitted, the fitted values are used. |
y |
An optional vector of responses to calculate SSE. If omitted, SSE is NULL |
... |
additional arguments affecting the predictions produced |
Returns a list containing
y_pred |
predicted values of newdata |
SSE |
sum of squared errors |
J. D. Tucker, J. R. Lewis, and A. Srivastava, “Elastic Functional Principal Component Regression,” Statistical Analysis and Data Mining, 10.1002/sam.11399, 2018.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.