Description Usage Arguments Value Examples
Sampling from one graph to its induced subgraph depending on network structure.
1 | snowball.sampling(G, samn)
|
G |
an |
samn |
is a size of snowball sample that will be samples from |
|
an induced subgraph of |
|
a set of index of samples. |
1 2 3 4 | library(netdep)
library(igraph)
G = latent.netdep(n.node = 200, rho = 0.2, dep.factor = -3, dep.range = c(-10, 0))
subG = snowball.sampling(G, 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.