View source: R/sample_size_EGA_montecarlo.R
| show_recommendation | R Documentation |
Reports, as a message, a single sentence with the recommended sample size and the structural
assumptions that produced it (items, communities, sizes, data type, power
target, bootstrap CI when available). Use this when you want the answer
fast and don't need the full print() report.
show_recommendation(x)
x |
A |
Invisibly returns the recommended n.
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,
control = list(boots = 100, corr = "pearson", algorithm = "walktrap")
)
show_recommendation(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.