Skip to contents

Prediction function for fitted functions.

Usage

predictFX(object, newdata, which_factors = seq_len(object@K))

Arguments

object

MFAIR object.

newdata

Data frame containing the values at which predictions are required.

which_factors

Which factors, i.e., which fitted functions are used. All K factors are used by default.

Value

A matrix containing predicted F(X). Each row is a new sample and each column is a factor.