GenA | R Documentation |
A
Generate a simple pattern adjacent matrix A
GenA(n, n0, pf, pr, pi)
n |
number of nodes |
n0 |
number of hub nodes |
pf |
|
pr |
|
pi |
a n-dimensional vector containing probability of appearance in non-hub group |
a (n0+1)*n matrix, the first row is pi
pi = rep(0.05,100)
A0 = GenA(100,5,0.4,0.1,pi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.