R/matrixFormat.R

Defines functions matrixFormat

Documented in matrixFormat

matrixFormat <-
function(x) 
{
 rownam <- rownames(x)
 array( as.vector(t(as.matrix(x))), c(2,2,nrow(x)), 
        dimnames = list(NULL,NULL, rownam))
}

Try the networkBMA package in your browser

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

networkBMA documentation built on Jan. 28, 2021, 2:02 a.m.