View source: R/ROBINWeighted.R
randomWeight | R Documentation |
This function randomly rewires the edges while preserving the original graph's degree distribution.
randomWeight(graph, dist = "Other", verbose = FALSE)
graph |
The output of prepGraph. |
dist |
Option to rewire in a manner that retains overall graph weight
regardless of distribution of edge weights. This option is invoked by putting
any text into this field. Defaults to "Other". See
|
verbose |
flag for verbose output (default as FALSE) |
An igraph object, a randomly rewired graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.