aov
fits.model.tables(x, ...)## S3 method for class 'aov':
model.tables(x, type = "effects", se = FALSE, cterms, \dots)
## S3 method for class 'aovlist':
model.tables(x, type = "effects", se = FALSE, \dots)
aov
"effects"
and
"means"
are implemented. Can be abbreviated."tables.aov"
, as list which may contain components Weighted aov
fits are not supported.
type = "effects"
give tables of the coefficients for each
term, optionally with standard errors. For type = "means"
give tables of the mean response for each
combinations of levels of the factors in a term.
The "aov"
method cannot be applied to components of a
"aovlist"
fit.
aov
, proj
,
replications
, TukeyHSD
,
se.contrast
options(contrasts = c("contr.helmert", "contr.treatment"))
npk.aov <- aov(yield ~ block + N*P*K, npk)
model.tables(npk.aov, "means", se = TRUE)
## as a test, not particularly sensible statistically
npk.aovE <- aov(yield ~ N*P*K + Error(block), npk)
model.tables(npk.aovE, se = TRUE)
model.tables(npk.aovE, "means")
Run the code above in your browser using DataLab