print.tukey_test: Print Tukey HSD test results (compact)
Description
Compact print method for objects of class "tukey_test". Shows
one line per variable (or factor, or group combination) with the number
of pairwise comparisons and how many are significant at the .05 level.
For the full comparison tables (mean differences, confidence intervals,
adjusted p-values), use summary().
Usage
# S3 method for tukey_test
print(x, digits = 3, ...)
Value
Invisibly returns the input object x.
Arguments
x
An object of class "tukey_test" returned by tukey_test.
digits
Number of decimal places to display (default: 3)
...
Additional arguments passed to print. Currently unused.
result <- oneway_anova(survey_data, life_satisfaction,
group = education) |> tukey_test()
result # compact overviewsummary(result) # full comparison tables