expand_Anova | R Documentation |
expand_Anova
is an experimental function to add more detailed results to those returned by car::Anova
. In particular, expand_Anova
aims to provide test results for all individual contrasts assigned to the factors in a linear model, in addition to the omnibus tests returned by car::Anova
.
expand_Anova(mod, type = c("III", "II", 3, 2), ...)
mod |
A model of class lm (see ?stats::lm) |
type |
SS Type (see ?car::Anova) |
... |
Further arguments passed to Anova |
This is an experimental function
Object of class anova returned by car::Anova
car::Anova()
for more information about the Anova tables, and stats::lm()
for information about how to specify the model
data("tetris2015")
mod <- lm(Days_One_to_Seven_Number_of_Intrusions ~ Condition, data=tetris2015)
car::Anova(mod,type=3) # default type III Anova table
expand_Anova(mod,type=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.