View source: R/subsampling_analysis.R
obtain_network_subsamples | R Documentation |
To obtain sub-networks of the observed network
obtain_network_subsamples(
network,
n_subsamples = 1,
subsampling_proportion = 0.5
)
network |
An igraph object |
n_subsamples |
Number of sub-networks to be obtained. (default = 1) |
subsampling_proportion |
A value depicting the level (in proportion) at which sub-samples to be taken. (default = 0.5). This value should lie between 0 and 1 depicting the proportion of observed nodes to be included in the sub-network. |
A list of size n_subsamples, where each element of the list is an igraph object representing a sub-network of the observed network.
data(elk_network_2010)
obtain_network_subsamples(elk_network_2010, 1, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.