powered by
Compute the number of times each edge was selected when performing a non-parametric bootstrap @see Figure 6.7, @hastie2009elementsGGMncv.
boot_eip(Y, method = "pearson", samples = 500, progress = TRUE, ...)
A matrix of dimensions n by p.
Character string. Which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman".
Numeric. How many bootstrap samples (defaults to 500)?
500
Logical. Should a progress bar be included (defaults to TRUE)?
TRUE
Additional arguments passed to ggmncv.
ggmncv
An object of class eip that includes the "probabilities" in a data frame.
eip
# NOT RUN { # } # NOT RUN { # data (ptsd symptoms) Y <- GGMncv::ptsd[,1:10] # compute eip's boot_samps <- boot_eip(Y, samples = 100, progress = FALSE) boot_samps # }
Run the code above in your browser using DataLab