powered by
Creates a summary object that produces detailed output when printed, including rho matrices, p-value matrices, and sample size matrices.
# S3 method for spearman_rho summary( object, correlation_matrix = TRUE, pvalue_matrix = TRUE, n_matrix = TRUE, digits = 3, ... )
A summary.spearman_rho object.
summary.spearman_rho
A spearman_rho result object.
spearman_rho
Logical. Show the rho coefficient matrix? (Default: TRUE)
Logical. Show the p-value matrix? (Default: TRUE)
Logical. Show the sample size matrix? (Default: TRUE)
Number of decimal places for formatting (Default: 3).
Additional arguments (not used).
spearman_rho for the main analysis function.
result <- spearman_rho(survey_data, trust_government, trust_media) summary(result) summary(result, pvalue_matrix = FALSE)
Run the code above in your browser using DataLab