Learn R Programming

mariposa (version 0.7.3)

print.ancova: Print ANCOVA results (compact)

Description

Compact print method for objects of class "ancova". Shows factor effects and covariates with F statistics, p-values, and effect sizes.

For the full detailed output, use summary().

Usage

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

Value

Invisibly returns the input object x.

Arguments

x

An object of class "ancova" returned by ancova.

digits

Number of decimal places to display. Default is 3.

...

Additional arguments (not used).

Examples

Run this code
result <- ancova(survey_data, dv = life_satisfaction, between = gender, covariate = age)
result              # compact overview
summary(result)     # full detailed output

Run the code above in your browser using DataLab