fitted.funreg: fitted method for funreg object

Description Usage Arguments Value

View source: R/FittedFunReg.r

Description

Returns fitted values for a funreg object.

Usage

1
2
## S3 method for class 'funreg'
fitted(object, type = "response", which.coef = 1, ...)

Arguments

object

A funreg object

type

Either response or correlation. If response, fitted values for the scalar response variable are returned. If correlation, estimated individual-level correlation coefficients of the smoothed value of the functional covariate at various time points with the scalar response variable are returned.

which.coef

Only required if type is correlation and there is more than one functional covariate. This specifies which functional covariate is of interest.

...

Other optional arguments which may be passed from other methods but ignored by this one.

Value

Returns the fitted values for the responses if type is response, or the fitted values for the correlations of the which.coefth functional covariate with the response, if type is correlation.


funreg documentation built on Oct. 4, 2021, 5:07 p.m.

Related to fitted.funreg in funreg...