Learn R Programming

reghelper (version 0.3.3)

cell_means: Estimated means.

Description

cell_means is a generic function for calculating the estimated means of a linear model.

Usage

cell_means(model, ...)

Arguments

model

A fitted linear model of type 'lm' or 'aov'.

...

Additional arguments to be passed to the particular method for the given model.

Value

The form of the value returned by cell_means depends on the class of its argument. See the documentation of the particular methods for details of what is produced by that method.

See Also

cell_means.lm, cell_means.aov

Examples

Run this code
# NOT RUN {
# iris data
model <- lm(Sepal.Length ~ Petal.Length + Petal.Width, iris)
summary(model)
cell_means(model, Petal.Length)
# }

Run the code above in your browser using DataLab