vertboot {snowboot} | R Documentation |
Bootstrapping a Network with Vertex Bootstrap
Description
This function bootstraps the original network using a vertex bootstrap technique. See Snijders and Borgatti (1999) and Chen et al. (2018).
Usage
vertboot(m1, boot_rep)
Arguments
m1 |
An adjacency matrix of the original network. |
boot_rep |
A positive integer number, the number of bootstrap replications. |
Value
A list of bootstrapped networks as adjacency matrices.
References
Chen Y, Gel YR, Lyubchich V, Nezafati K (2018).
“Snowboot: bootstrap methods for network inference.”
The R Journal, 10(2), 95–113.
doi: 10.32614/RJ-2018-056.
Snijders TAB, Borgatti SP (1999).
“Non-parametric standard errors and tests for network statistics.”
Connections, 22(2), 61–70.
Examples
graph_ex <- igraph::graph_from_edgelist(artificial_networks[[1]]$edges)
m1 <- igraph::as_adjacency_matrix(graph_ex)
m1 <- as.matrix(m1)
vertboot_out <- vertboot(m1, 20)
[Package snowboot version 1.0.2 Index]