powered by
Creates a summary object that produces detailed output when printed, including tau matrices, p-value matrices, and sample size matrices.
# S3 method for kendall_tau summary( object, correlation_matrix = TRUE, pvalue_matrix = TRUE, n_matrix = TRUE, digits = 3, ... )
A summary.kendall_tau object.
summary.kendall_tau
A kendall_tau result object.
kendall_tau
Logical. Show the tau 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).
kendall_tau for the main analysis function.
result <- kendall_tau(survey_data[1:300, ], trust_government, trust_media) summary(result) summary(result, pvalue_matrix = FALSE)
Run the code above in your browser using DataLab