Description Usage Arguments Value
Function to sample from the Random Cluster model. Currently this function works with the coupling from the past algorithm that is used in Grimmit (2006).
1 |
p |
The probability of forming an edge |
q |
The cluster coefficient from the Random Cluster model |
n.nodes |
The number of nodes in the network |
n.iter |
The maximum number of iterations to run CFTP |
verbose |
Whether to print the progress |
mat |
Whether to return adjacency matrix |
Returns a matrix with samples from the random cluster model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.