Learn R Programming

mariposa (version 0.7.3)

print.scheffe_test: Print Scheffe test results (compact)

Description

Compact print method for objects of class "scheffe_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 scheffe_test
print(x, digits = 3, ...)

Value

Invisibly returns the input object x.

Arguments

x

An object of class "scheffe_test" returned by scheffe_test.

digits

Number of decimal places to display (default: 3)

...

Additional arguments passed to print. Currently unused.

Examples

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

Run the code above in your browser using DataLab