Learn R Programming

snowboot (version 1.0.2)

vertboot: Bootstrapping a Network with Vertex Bootstrap

Description

This function bootstraps the original network using a vertex bootstrap technique. See snijders_borgatti_1999;textualsnowboot and chen_etal_2018_snowboot;textualsnowboot.

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab