bmrm (version 4.1)

predict.mmc: Predict class of new instances according to a mmc model

Description

Predict class of new instances according to a mmc model

Usage

# S3 method for mmc
predict(object, x, ...)

Arguments

object

a mmc object

x

a matrix similar to the dataset used, i.e. where rows are instances for which class must be predicted

...

unused, present to satisfy the generic predict() prototype

Value

a integer vector whose length match nrow(x) and containing the predicted class for each of the given instances.