predict.mvRF: Make predictions based on a FunFor fit

Description Usage Arguments Details Value Examples

View source: R/FunFor.R

Description

This function is to make predictions based on a FunFor fit.

Usage

1
2
## S3 method for class 'mvRF'
predict(fit, newdata)

Arguments

fit

Saved FunFor object

newdata

A new X data matrix

Details

This function is used to predict from new observations based on a fitted FunFor model. See ?FunFor for examples of how to fit a FunFit model.

Value

A matrix of predicted Y values.

Examples

1
predict(funfor_fit, newX)

xiaotiand/FunFor documentation built on Dec. 23, 2021, 6:18 p.m.