Calculates the classification error
ce(...)# S3 method for default
ce(actual, predicted, ...)
# S3 method for lm
ce(modelObject, ...)
# S3 method for glm
ce(modelObject, ...)
# S3 method for randomForest
ce(modelObject, ...)
# S3 method for glmerMod
ce(modelObject, ...)
# S3 method for gbm
ce(modelObject, ...)
# S3 method for rpart
ce(modelObject, ...)
additional parameters to be passed the the s3 methods
A vector of the labels
A vector of predicted values
the model object. Currently supported lm, glm, randomForest, glmerMod, gbm, rpart