Description Usage Arguments Details Value
Randomly sample edges from a graph
1 | sample_edges(x, size)
|
x |
An adjacency matrix or igraph object. |
size |
The desired sample size. |
If the input is an adjacency matrix, the return value is a 1-D index
identifying a sample of non-zero values in the matrix. If the input is an
igraph, then the return value is an igraph.es
object—the output of
E
.
A sample of edges. See details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.