Learn R Programming

mariposa (version 0.7.3)

print.summary.spearman_rho: Print summary of Spearman correlation results (detailed output)

Description

Displays the detailed SPSS-style output for a Spearman rank correlation, with sections controlled by the boolean parameters passed to summary.spearman_rho. Sections include the correlation matrix, p-value matrix, and sample size matrix.

Usage

# S3 method for summary.spearman_rho
print(x, ...)

Value

Invisibly returns the input object x.

Arguments

x

A summary.spearman_rho object created by summary.spearman_rho.

...

Additional arguments (not used).

See Also

spearman_rho for the main analysis, summary.spearman_rho for summary options.

Examples

Run this code
result <- spearman_rho(survey_data, age, life_satisfaction)
summary(result)                             # all matrices
summary(result, pvalue_matrix = FALSE)      # hide p-values

Run the code above in your browser using DataLab