getZmat | R Documentation |
Tool for vector to matrix
getZmat(ZOneDim, m, n)
ZOneDim |
a vector. |
m |
the number of cluster. |
n |
sample size. |
adjacency matrix
m <- 20 n <- 500 ZOneDim <- sample(seq_len(m), n, replace = TRUE) #' getZmat(ZOneDim, m, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.