View source: R/randomsamples.R
rghype | R Documentation |
Generate random realisations from ghype model.
rghype(nsamples, model, m = NULL, multinomial = NULL, seed = NULL)
nsamples |
scalar number of realisations |
model |
ghype model |
m |
optional scalar, number of edges to draw |
multinomial |
optional boolean, draw from multinomial? |
seed |
optional scalar, seed for random sampling. |
list of adjacency matrices.
data('adj_karate')
model <- scm(adj_karate, FALSE, FALSE)
rghype(1, model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.