powered by
analyzeClassification
encodeClassLabels(x, method="WTA", l=0, h=0)
data(iris) labels <- decodeClassLabels(iris[,5]) encodeClassLabels(labels)
Run the code above in your browser using DataLab