predict.rfr_fpca: Prediction for functional principal component analysis

View source: R/fpca-methods.R

predict.rfr_fpcaR Documentation

Prediction for functional principal component analysis

Description

Takes a fitted rfr_fpca-object produced by rfr_fpca() and produces predictions given a new set of values or the original values used for the model fit.

Usage

## S3 method for class 'rfr_fpca'
predict(object, newdata, ...)

Arguments

object

an rfr_fpca object

newdata

An optional tf data vector. If omitted, the fitted values are returned.

...

optional arguments to be passed to methods


tidyfun/refundr documentation built on March 26, 2022, 4:09 p.m.