Learn R Programming

twidlr (version 0.0.0.9000)

aov: data.frame-first formula-second method for

Description

This function passes a data.frame, formula, and additional arguments to aov.

Usage

aov(data, formula, ...)

Arguments

data
Data frame (or object that can be coerced to one) containing the variables in the model
formula
formula (or object that can be coerced to one) describing the model to be fitted
...
Additional arguments to pass to model function

See Also

aov

Examples

Run this code
fit <- aov(mtcars, hp ~ am * cyl)
summary(fit)
predict(fit, mtcars)

Run the code above in your browser using DataLab