GenG | R Documentation |
G
Generate grouped data G
GenG(A, T, rho)
A |
(n0+1)*n-dimensional adjacent matrix |
T |
number of observations (groups) |
rho |
a (n0+1) dimensional vector containing hub weight |
T*n matrix
n = 100; n0 = 5; T = 1000
A0 = GenA(n,n0,0.4,0.1,rep(0.05,100))
rho = c(0.2,rep(0.8/n0,n0))
G0 = GenG(A0,T,rho)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.