Description Usage Arguments Value
Methods defined for objects returned from the ANOVA functions aov_car
et al. of class afex_aov
containing both the ANOVA fitted via car::Anova
and base R's aov
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## S3 method for class 'afex_aov'
anova(object, es = afex_options("es_aov"),
observed = NULL, correction = afex_options("correction_aov"),
MSE = TRUE, intercept = FALSE, ...)
## S3 method for class 'afex_aov'
print(x, ...)
## S3 method for class 'afex_aov'
summary(object, ...)
## S3 method for class 'afex_aov'
recover.data(object, ...)
## S3 method for class 'afex_aov'
lsm.basis(object, trms, xlev, grid, ...)
|
object,x |
object of class |
es |
Effect Size to be reported. The default is given by |
observed |
character vector referring to the observed (i.e., non manipulated) variables/effects in the design. Important for calculation of generalized eta-squared (ignored if |
correction |
Character. Which sphericity correction of the degrees of freedom should be reported for the within-subject factors. The default is given by |
MSE |
logical. Should the column containing the Mean Sqaured Error (MSE) be displayed? Default is |
intercept |
logical. Should intercept (if present) be included in the ANOVA table? Default is |
... |
further arguments passed through, see description of return value for details. |
trms,xlev,grid |
same as for |
anova
Returns an ANOVA table of class c("anova", "data.frame")
. Information such as effect size (es
) or df-correction are calculated each time this method is called.
summary
For ANOVAs containing within-subject factors it returns the full output of the within-subject tests: the uncorrected results, results containing Greenhousse-Geisser and Hyunh-Feldt correction, and the results of the Mauchly test of sphericity (all achieved via summary.Anova.mlm
). For other ANOVAs, the anova
table is simply returned.
print
Prints (and invisibly returns) the ANOVA table as constructed from nice
(i.e., as strings rounded nicely). Arguments in ...
are passed to nice
allowing to pass arguments such as es
and correction
.
recover.data
and lsm.basis
Provide the backbone for using lsmeans
and related functions from lsmeans directly on afex_aov
objects by returning a ref.grid
object. Should not be called directly but through the functionality provided by lsmeans.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.