adj2vector | R Documentation |
Transform the adjacency matrix to a vector
adj2vector(Adjacency, n)
Adjacency |
the adjacency matrix of factor |
n |
number of samples |
w
the vector of the adjacency matrix
Haidong Yi, Ayush T. Raman
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.