View source: R/sampleCompute.R
convNamesPairsToIndexPairs | R Documentation |
Performs conversion of list of names pairs to a matrix of index pairs
convNamesPairsToIndexPairs(pair.list, full.name.set)
pair.list |
list of names pairs (vector of 2 names). |
full.name.set |
a vector of unique names. |
convNamesPairsToIndexPairs performs conversion of list of names pairs to a matrix of index pairs.
the 2-column matrix of pairs of indexes.
computeSemiSupervised
, KwaySSSC
x <- c("a"=10, "b"=20, "c"=30 )
ML <- list()
ML[[1]] <- c("a","c")
ML[[2]] <- c("c","d")
mustLink<-convNamesPairsToIndexPairs(ML,names(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.