Learn R Programming

mariposa (version 0.7.3)

print.dunn_test: Print Dunn post-hoc test results (compact)

Description

Compact print method for objects of class "dunn_test". Shows one line per variable (or 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 dunn_test
print(x, digits = 3, ...)

Value

Invisibly returns the input object x.

Arguments

x

An object of class "dunn_test" returned by dunn_test.

digits

Number of decimal places to display (default: 3)

...

Additional arguments passed to print. Currently unused.

Examples

Run this code
result <- kruskal_wallis(survey_data, life_satisfaction,
                         group = education) |> dunn_test()
result              # compact overview
summary(result)     # full comparison tables

Run the code above in your browser using DataLab