Learn R Programming

FRESA.CAD (version 3.4.7)

predict.fitFRESA: Linear or probabilistic prediction

Description

This function returns the predicted outcome of a specific model. The model is used to generate linear predictions. The probabilistic values are generated using the logistic transformation on the linear predictors.

Usage

# S3 method for fitFRESA
predict(object,
	                ...)

Value

A vector with the predicted values

Arguments

object

An object of class fitFRESA containing the model to be analyzed

...

A list with: testdata=testdata;predictType=c("linear","prob") and impute=FALSE. If impute is set to TRUE it will use the object model to impute missing data

Author

Jose G. Tamez-Pena and Antonio Martinez-Torteya

See Also

nearestNeighborImpute