Description Usage Arguments Value Author(s) Examples
Generate a random graph from uniform distribution
1 | randomGraph(n, seed = as.numeric(Sys.time()), wlim = c(0, 1), Glim = c(0, 1))
|
n |
an integer: number of vertices |
seed |
an integer: a seed for random number generator |
wlim |
a vector of two numbers: range of vertex weights |
Glim |
a vector of two numbers: range of transition weights |
A list of one vector for vertex weights and one matrix for transition weights
Jiangtao Gou
Fengqing Zhang
1 | wG <- randomGraph(n=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.