simpleAnova: Simple Anova Table

Description Usage Arguments References See Also Examples

View source: R/simpleAnova.R

Description

Simple function to produce an ANOVA table (Model and Error) after a model run in lm(). This replicates the F-test in the summary.lm() function.

Usage

1

Arguments

obj

Model object from an lm() fitted equation.

...

Additional anova() options if needed.

References

Found via the interwebs here.

See Also

lm

Examples

1
2
3
mod <- lm(hp ~ disp, data=mtcars)
simpleAnova(mod)
summary(mod)

MichaelJMahometa/SDSRegressionR documentation built on March 3, 2021, 10:51 p.m.