predict.fcQR {MECfda}R Documentation

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 class 'fcQR'
predict(object, newData.FC, newData.Z = NULL, ...)

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.

Details

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

Value

See predict.rq.

Author(s)

Heyang Ji


[Package MECfda version 0.2.1 Index]