convNamesToIndex: Conversion of element names to indexes

Description Usage Arguments Details Value See Also Examples

View source: R/sampleCompute.R

Description

Performs conversion of an element name to its index inside a set of named objects

Usage

1
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

1
2
3
x <- c("a"=10, "b"=20, "c"=30 )

convNamesToIndex(c("b","a","c"),names(x))

RclusTool documentation built on Feb. 4, 2020, 5:08 p.m.