Learn R Programming

mariposa (version 0.7.3)

summary.dunn_test: Summary method for Dunn post-hoc test results

Description

Creates a summary object that produces detailed output when printed, including the pairwise comparison tables with Z-statistics, unadjusted and adjusted p-values, and interpretation.

Usage

# S3 method for dunn_test
summary(object, comparisons = TRUE, interpretation = TRUE, digits = 3, ...)

Value

A summary.dunn_test object.

Arguments

object

A dunn_test result object.

comparisons

Logical. Show the pairwise comparison tables? (Default: TRUE)

interpretation

Logical. Show the interpretation section? (Default: TRUE)

digits

Number of decimal places for formatting (Default: 3).

...

Additional arguments (not used).

See Also

dunn_test for the main analysis function.

Examples

Run this code
result <- kruskal_wallis(survey_data, life_satisfaction,
                         group = education) |> dunn_test()
summary(result)
summary(result, interpretation = FALSE)

Run the code above in your browser using DataLab