anovaTable {linearModel}R Documentation

ANOVA Table

Description

Produces the overall ANOVA table where the model sum of squares are not partioned into their parts.

Usage

anovaTable(object, ...)

Arguments

object

lm or aov model object

...

currently ignored

Value

Object of class anova and data.frame

Examples

data(depression)

## MLR model
modMLR <- lm(depress~trauma+control,data=depression)
anovaTable(modMLR)

## ANOVA model
depression$gender <- factor(depression$gender)
depression$history <- factor(depression$history)
modAOV  <- lm(depress~-1+gender+history+gender:history,data=depression)
anovaTable(modAOV)


[Package linearModel version 1.0.2 Index]