bootstrap_hype | R Documentation |
Bootstrapping is a common statistical technique used to quantify
uncertainty of calculations. This is an approximation of the
bootstrap algorithm for hypergraphs. Bootstrapping is achieved
by creating a new hypergraph where the vertices, hyperedges or
both have themselves been bootstrapped, achieved using the
"vertex"
, "hyperedge"
or "both"
methods.
bootstrap_hype(hype, n = 1, method = "both")
hype |
A hypergraph object. |
n |
The number of bootstrapped hypergraphs required. |
method |
What method to use to calculate the bootstrapped hypergraphs |
A list of bootstrapped hypergraphs.
hype <- example_hype() resamples <- bootstrap_hype(hype, n = 5) lapply(resamples, incidence_matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.