powered by
Takes the output of `cluster_gen` and creates summary statistics of the questionnaire variables
# S3 method for lsasimcluster summary( object, digits = 4, print = "partial", print_hetcor = TRUE, force_matrix = FALSE, ... )
list of summaries
output of `cluster_gen`
loosely controls the number of digits (significant or not) in the output (for `print = TRUE`)
"all" will pretty-print a summary of statistics, "partial" will only print cluster-level sumamrizes; "none" outputs statistics as a list
if `TRUE` (default), prints the heterogeneous correlation matrix
if `TRUE`, prints the heterogeneous correlation matrix even if warnings are generated
additional arguments (unused; added for compatibility with generic)
anova.lsasimcluster
n <- c(3, 30) cls <- cluster_gen(n, n_X = 3, n_W = 5) summary(cls) summary(cls, print="none") # allows saving results
Run the code above in your browser using DataLab