R/allVec.R

Defines functions allVec

Documented in allVec

allVec <-
function( ngam){

    nlabels <- maxlabel( ngam )

    all.vecs <- t( sapply( 0:nlabels, label2vec, ngam=ngam) )
    
    rownames( all.vecs ) <- 0:nlabels 
    return( all.vecs )
}

Try the IBDLabels package in your browser

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

IBDLabels documentation built on May 2, 2019, 9:58 a.m.