jackknife_hype | R Documentation |
Jackknifing is a resampling technique similar to bootstrapping, where many
resamples are taken, each time leaving out one observation. For the abstraction
to hypergraphs, the "vertex"
method recreates the hypergraph leaving out one
vertex, the "hyperedge"
method recreates the hypergraph leaving out one hyperedge
and the "both"
method leaves out one of each.
jackknife_hype(hype, n = 1, method = "both")
hype |
A hypergraph object. |
n |
The number of hypergraphs to create. |
method |
The method to use to jackknife the hypergraphs. |
A list of jackknifed hypergraphs.
hype <- example_hype() resamples <- jackknife_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.