View source: R/sample_size_EGA_montecarlo.R
| show_plots | R Documentation |
sample_size_EGA_montecarlo objectPrints each plot in x$plots sequentially. Use this after calling
sample_size_EGA_montecarlo(..., plots = TRUE) to inspect the
simulation graphically without having to write each print().
show_plots(x, which = NULL)
x |
A |
which |
Optional character vector with the names of the plots to
show (subset of |
Invisibly returns the list of plots.
res <- sample_size_EGA_montecarlo(
community_sizes = c(4, 4), within_edge = 0.20,
sample_sizes = c(100, 200, 400), n_rep = 10,
data_type = "continuous", seed = 1, verbose = FALSE, plots = TRUE,
control = list(boots = 100, corr = "pearson", algorithm = "walktrap")
)
show_plots(res, which = "power_curve_ci")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.