Learn R Programming

mariposa (version 0.7.3)

print.pairwise_wilcoxon: Print pairwise Wilcoxon post-hoc test results (compact)

Description

Compact print method for objects of class "pairwise_wilcoxon". Shows one line per group combination with the number of pairwise comparisons and how many are significant at the .05 level.

For the full comparison tables (Z-statistics, adjusted p-values), use summary().

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

An object of class "pairwise_wilcoxon" returned by pairwise_wilcoxon.

digits

Number of decimal places to display (default: 3)

...

Additional arguments passed to print. Currently unused.

Examples

Run this code
result <- friedman_test(survey_data, trust_government, trust_media,
                        trust_science) |> pairwise_wilcoxon()
result              # compact overview
summary(result)     # full comparison tables

Run the code above in your browser using DataLab