Learn R Programming

mariposa (version 0.7.3)

print.summary.tukey_test: Print summary of Tukey HSD test results (detailed output)

Description

Displays the detailed output for Tukey HSD post-hoc comparisons, with sections controlled by the boolean parameters passed to summary.tukey_test. The display includes:

  • Pairwise group comparisons with mean differences

  • Confidence intervals for differences

  • Tukey-adjusted p-values controlling family-wise error rate

  • Significance indicators (* p < 0.05, ** p < 0.01, *** p < 0.001)

For grouped analyses, results are displayed separately for each group combination. For weighted analyses, effective sample sizes are used in calculations.

Usage

# S3 method for summary.tukey_test
print(x, ...)

Value

Invisibly returns the input object x.

Arguments

x

A summary.tukey_test object created by summary.tukey_test.

...

Additional arguments (not used).

See Also

tukey_test for the main analysis, summary.tukey_test for summary options.

Examples

Run this code
result <- oneway_anova(survey_data, life_satisfaction,
                       group = education) |> tukey_test()
summary(result)                     # all sections
summary(result, comparisons = FALSE)  # hide comparison tables

Run the code above in your browser using DataLab