Learn R Programming

mariposa (version 0.7.3)

print.wilcoxon_test: Print Wilcoxon signed-rank test results (compact)

Description

Compact print method for objects of class "wilcoxon_test". Shows a one-line summary per comparison with the Z statistic, p-value, effect size r, and sample size.

For the full detailed output (rank tables, test statistics), use summary().

Usage

# S3 method for wilcoxon_test
print(x, digits = 3, ...)

Value

Invisibly returns the input object x.

Arguments

x

A wilcoxon_test object

digits

Number of decimal places to display (default: 3)

...

Additional arguments (not used)

Examples

Run this code
result <- wilcoxon_test(survey_data, x = trust_government, y = trust_media)
result              # compact one-line overview
summary(result)     # full detailed output

Run the code above in your browser using DataLab