zToA | R Documentation |
This function calculates an adjacency matrix based on an integer vector of cluster memberships.
zToA(z)
z |
Integer vector of cluster memberships. |
An adjacency matrix containing 1's and 0's.
# Calculate adjacency matrix for clustering zToA(c(rep(1, 2), rep(2, 2), rep(3, 2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.