convNamesToIndex: Conversion of element names to indexes

View source: R/sampleCompute.R

convNamesToIndexR 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))


RclusTool documentation built on May 29, 2024, 5:23 a.m.