powerset | R Documentation |
n
Generates the set of all possible binary networks of size n
.
powerset(n, directed = TRUE, force = FALSE, chunk_size = 2e+05)
n |
Integer. Number of edges. |
directed |
Logical scalar. Whether to generate the power set of directed or undirected graphs, |
force |
Logical scalar. When |
chunk_size |
Number of matrices to process at a time. If n = 5, then
stack memory on the computer may overflow if |
powerset(2)
powerset(4, directed = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.