toNumericClassLabels {RSNNS} | R Documentation |
Convert a vector (of class labels) to a numeric vector
Description
This function converts a vector (of class labels) to a numeric vector.
Usage
toNumericClassLabels(x)
Arguments
x |
inputs |
Value
the vector converted to a numeric vector
Examples
data(iris)
toNumericClassLabels(iris[,5])
[Package RSNNS version 0.4-17 Index]