adj2vector: Transform the adjacency matrix to a vector

Description Usage Arguments Value Author(s) Examples

Description

Transform the adjacency matrix to a vector

Usage

1
adj2vector(Adjacency, n)

Arguments

Adjacency

the adjacency matrix of factor

n

number of samples

Value

w the vector of the adjacency matrix

Author(s)

Haidong Yi, Ayush T. Raman

Examples

1
2
W <- matrix(c(0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0),nrow=4)
w <- adj2vector(W,4)

zhanglabNKU/DASC documentation built on May 27, 2019, 1:46 p.m.