View source: R/randomize_graph.R
randomize_graph | R Documentation |
This function randomizes the edges in a popgraph and returns a new graph.
randomize_graph(graph = NULL, mode = c("full", "degree")[2])
graph |
An object of type |
mode |
The kind of randomization to conduct, can be "full" which makes a new graph with the same number of edges as the original one, or "degree" which preserves the degree distribution of the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.