predict.NN: Predict NN regression

Description Usage Arguments Value

View source: R/regressionPredictionFunctions.R

Description

This function is typically not directly used by the user; it is used inside fitFlexCoDE

Usage

1
2
## S3 method for class 'NN'
predict(object, xNew, maxTerms = NULL)

Arguments

object

object of the class NN

xNew

matrix with covariates where prediction will be calculated

maxTerms

maximum number of expansion coefficients

Value

Returns a matrix where element (i, j) contains the estimate of the j-th expansion coefficient for the i-th sample


rizbicki/FlexCoDE documentation built on Feb. 10, 2022, 3:14 p.m.