Description Usage Arguments Details Value Examples
Simulate edges from an sbm
object with a given edgemod
1 |
SBM |
an |
edgemod |
an |
sym |
should the network be symmetric? |
loops |
should the network have self-loops? |
... |
additional arguments passed to |
None
an edges
object
1 2 3 4 5 6 7 | ## make an sbm model, sample data then plot and print:
model <- sbmmod(dma(2,5), param_beta(1,1,1,1), edges_bern())
s <- model$r(100)
e <- redges(s, model$edge)
plot(e)
plot(e, s)
print(e)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.