print.sample_size_EGA_montecarlo: Narrative summary of a sample-size simulation

View source: R/sample_size_EGA_montecarlo.R

print.sample_size_EGA_montecarloR Documentation

Narrative summary of a sample-size simulation

Description

Prints a one-paragraph dynamic summary of the recommended sample size together with the structural assumptions that led to it (number of items, number of dimensions, factor sizes, replications, power target, validation result and sensitivity sweep).

Usage

## S3 method for class 'sample_size_EGA_montecarlo'
print(x, digits = 3, show_plots = FALSE, ...)

Arguments

x

A sample_size_EGA_montecarlo object.

digits

Number of significant digits for non-integer values.

show_plots

Logical; if TRUE and the object carries plots (plots = TRUE at fit time), each plot is rendered after the narrative. Default FALSE.

...

Ignored.

Value

Invisibly returns x.

Examples

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")
)
print(res)

InterconectaR documentation built on Oct. 16, 2026, 1:06 a.m.