Learn R Programming

mariposa (version 0.7.3)

print.oneway_anova: Print ANOVA test results (compact)

Description

Compact print method for objects of class "oneway_anova". Shows a one-line summary per variable with F statistic, p-value, effect size, and sample size.

For the full detailed output, use summary().

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

An object of class "oneway_anova" returned by oneway_anova.

digits

Number of decimal places to display (default: 3).

...

Additional arguments (not used).

Examples

Run this code
result <- oneway_anova(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