View source: R/print.bootstrap.r
print.bootstrap | R Documentation |
Print a fitted rgcca_bootstrap object. Parameters of the analysis and bootstrap statistics are displayed.
## S3 method for class 'bootstrap' print( x, block = seq_along(x$rgcca$call$blocks), comp = 1, type = "weights", empirical = TRUE, display_order = FALSE, adj.method = "fdr", ... )
x |
A fitted rgcca_bootstrap object
(see |
block |
A numeric corresponding to the block(s) to plot. |
comp |
A numeric vector indicating the component(s) to consider. |
type |
Character string indicating the bootstrapped object to plot: block-weight vectors ("weights", default) or block-loading vectors ("loadings"). |
empirical |
A logical value indicating if the bootstrap confidence intervals and p-values are derived from the empirical distribution. (defaut: TRUE) |
display_order |
A logical value for ordering the variables. If TRUE, variables are ordered from highest to lowest absolute value. If FALSE, the block order is used. Default is TRUE. |
adj.method |
Character string indicating the method used to adjust for p-values. It must be a method handled by the p.adjust function. Default is "fdr". |
... |
Other parameters used in print (for the displaying of matrices) the means, 95% intervals, bootstrap ratio, p-values and other statistics. |
none
data("Russett") blocks <- list( agriculture = Russett[, seq(3)], industry = Russett[, 4:5], politic = Russett[, 6:11] ) fit.rgcca <- rgcca(blocks, ncomp = c(2, 1, 2)) boot.out <- rgcca_bootstrap(fit.rgcca, n_boot = 20, n_cores = 2) print(boot.out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.