View source: R/bootstrapping.R
obtain_bootstrapped_samples | R Documentation |
To obtain bootstrapped versions of a network's adjacency matrix
obtain_bootstrapped_samples(
network,
n_nodes = igraph::gorder(network),
n_versions = 1000,
seed = 12345
)
network |
An igraph object |
n_nodes |
Number of nodes to be selected in bootstrapped versions (default : All nodes) |
n_versions |
Number of bootstrapped versions required |
seed |
seed number |
A list of class bootstrapped_pvalue_matrix consisting of two elements. The first element contains the adjacency matrix of the original network and the second element contains bootstrapped versions of the adjacency matrices.
data(elk_network_2010)
obtain_bootstrapped_samples(elk_network_2010, n_versions = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.