Learn R Programming

mariposa (version 0.7.3)

print.levene_test: Print Levene test results (compact)

Description

Compact print method for objects of class "levene_test". Shows a one-line summary per variable with the F statistic, degrees of freedom, p-value, and the equal/unequal variances conclusion.

For the full detailed output (results tables, interpretation, recommendation), use summary().

Usage

# S3 method for levene_test
print(x, digits = 3, ...)

Value

Invisibly returns the input object x.

Arguments

x

A levene_test object

digits

Number of decimal places to display (default: 3)

...

Additional arguments (not used)

Examples

Run this code
result <- levene_test(survey_data, life_satisfaction, group = education)
result              # compact one-line overview
summary(result)     # full detailed output

Run the code above in your browser using DataLab