convNamesToIndex {RclusTool} | R Documentation |
Conversion of element names to indexes
Description
Performs conversion of an element name to its index inside a set of named objects
Usage
convNamesToIndex(name.sample, full.name.set)
Arguments
name.sample |
a vector of element names. |
full.name.set |
a vector of unique names. |
Details
convNamesToIndex performs conversion of an element name to its index inside a set of named objects
Value
the vector of indexes of the element named.
See Also
computeSemiSupervised
, KwaySSSC
Examples
x <- c("a"=10, "b"=20, "c"=30 )
convNamesToIndex(c("b","a","c"),names(x))
[Package RclusTool version 0.91.6 Index]