Description Usage Arguments Examples
Randomly rewires graphs by altering a specific number of edges using Bernoulli trials as described in "The weighted random graph model" by Garlaschelli, New Journal of Physics, 11, (2009), 073005. Only undirected, weigghted count matrices are considered here.
1 |
sym.matrix |
A symmetric, sparse count matrix object. |
nperturb |
The number of edges to randomly alter. |
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 "NegBinom" for negative binomial. |
1 | rewireR(exampledata, nperturb=40, dist = "Normal")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.