Learn R Programming

emil (version 2.2.3)

predict.model: Predict the response of unknown observations

Description

Predict the response of unknown observations

Usage

## S3 method for class 'model':
predict(object, x, ..., .verbose = FALSE)

Arguments

Value

See the documentation of procedure's method.

See Also

emil, modeling_procedure, evaluate,fit, tune, get_importance

Examples

Run this code
mod <- fit("lda", x=iris[-5], y=iris$Species)
prediction <- predict(mod, iris[-5])

Run the code above in your browser using DataLab