summary2way {s20x} | R Documentation |
Displays summary information for a two-way anova analysis. The lm object must come from a numerical response variable and factors. The output depends on the value of page:
page = "table" anova table page = "means" cell means matrix, numeric summary page = "effects" table of effects page = "interaction" tables of contrasts page = "nointeraction" tables of contrasts
summary2way(fit, page = "table", digit = 5, conf.level = 0.95, print.out = TRUE, ...)
fit |
an lm object, i.e. the output from "lm()". |
page |
options for output: "table", "means", "effects", "interaction", "nointeraction" |
digit |
the number of decimal places in the display. |
conf.level |
confidence level of the intervals. |
print.out |
if TRUE, print out the output on the screen. |
... |
other arguments like inttype, pooled etc. |
Df |
degrees of freedom for regression, residual and total. |
Sum of Sq |
sum squares for regression, residual and total. |
Mean Sq |
mean squares for regression and residual. |
F value |
F-statistic value. |
Pr(F) |
|
Main Effect |
|
Group Effects |
"summary1way"
##Arousal data: data(arousal.df) fit<-lm(arousal~gender+picture+gender*picture,data=arousal.df) summary2way(fit)