powered by
Compact print method for objects of class "spearman_rho". Shows rank correlation coefficient, p-value, and sample size per pair.
"spearman_rho"
For the full detailed output including matrices, use summary().
summary()
# S3 method for spearman_rho print(x, digits = 3, ...)
Invisibly returns the input object x.
x
An object of class "spearman_rho" returned by spearman_rho.
spearman_rho
Number of decimal places to display. Default is 3.
3
Additional arguments (not used).
result <- spearman_rho(survey_data, age, life_satisfaction) result # compact one-line overview summary(result) # full correlation matrices
Run the code above in your browser using DataLab