Learn R Programming

mariposa (version 0.7.3)

print.factorial_anova: Print factorial ANOVA results (compact)

Description

Compact print method for objects of class "factorial_anova". Shows main effects and interactions with F statistics, p-values, and effect sizes.

For the full detailed output, use summary().

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

An object of class "factorial_anova" returned by factorial_anova.

digits

Number of decimal places to display. Default is 3.

...

Additional arguments (not used).

Examples

Run this code
result <- factorial_anova(survey_data,
                          dv = life_satisfaction,
                          between = c(gender, education))
result              # compact overview
summary(result)     # full detailed output

Run the code above in your browser using DataLab