R/tclust2sppVector.R

Defines functions tclust2sppVector

Documented in tclust2sppVector

tclust2sppVector <- function(tclust){
    DoubLett <- paste(rep(LETTERS, rep(26,26)), LETTERS, sep="")
    sppVector <- rep(NA, length(unlist(tclust)))
    for(i in 1:length(tclust)) sppVector[ tclust[[i]] ] <- DoubLett[i]
    sppVector
}

Try the spiderDev package in your browser

Any scripts or data that you put into this service are public.

spiderDev documentation built on May 2, 2019, 5:23 p.m.