powered by
This function converts a vector (of class labels) to a numeric vector.
toNumericClassLabels(x)
inputs
the vector converted to a numeric vector
# NOT RUN { data(iris) toNumericClassLabels(iris[,5]) # }
Run the code above in your browser using DataLab