powered by
Performs conversion of an element name to its index inside a set of named objects
convNamesToIndex(name.sample, full.name.set)
the vector of indexes of the element named.
a vector of element names.
a vector of unique names.
convNamesToIndex performs conversion of an element name to its index inside a set of named objects
computeSemiSupervised, KwaySSSC
computeSemiSupervised
KwaySSSC
x <- c("a"=10, "b"=20, "c"=30 ) convNamesToIndex(c("b","a","c"),names(x))
Run the code above in your browser using DataLab