Description Usage Arguments Value
Simulate an adjacency matrix
1 | simulate_adjacency(n, K, alpha, pi, directed = FALSE)
|
n |
an integer: the number of nodes |
K |
an integer: the number of cluster |
alpha |
a matrix: |
pi |
a vector of size K: the mixture parameter |
directed |
Wether the graph is directed or not |
A n*n adjacency matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.