misc: Misclassification error
Description
An internal function which computes the misclassification error between two partitions
Usage
misc(classification, truth)
Value
The misclassification error (a scalar).
Arguments
- classification
A numeric or character vector of class labels.
- truth
A numeric or character vector of truth class labels. The length of truth should be the same as that of classification.