Functions for functional regression models. Functional Principal Component Regression
fregre.pc(fdataobj, y, ncomp = NULL, ...)A fitted regression object of class 'fregre.fd' with components:
Beta coefficient function values
Intercept term
Fitted values
Residuals
Number of components used
Mean of functional covariate (for prediction)
Mean of response (for prediction)
PC loadings (for prediction)
Indices of selected components
Underlying linear model
Residual variance
Original functional data
Response vector
The function call
An object of class 'fdata' (functional covariate).
Response vector.
Number of principal components to use.
Additional arguments.
Fits a functional linear model using principal component regression.