Learn R Programming

MECfda (version 0.2.0)

predict.fcQR: Predicted values based on fcQR object

Description

Predicted values based on the Quantile linear model with functional covariates represented by a "fcQR" class object.

Usage

# S3 method for fcQR
predict(object, newData.FC, newData.Z = NULL, ...)

Value

See predict.rq.

Arguments

object

A fcQR class object produced by fcQR.

newData.FC

A atomic vector or a matrix or a dataframe or a functional_variable class object or a list of objects above. See argument FC in fcRegression.

newData.Z

A dataframe or a matrix or a atomic vector. See argument Z in fcRegression.

...

Further arguments passed to or from other methods predict.rq.

Author

Heyang Ji

Details

If no new data is input, will return the fitted value.