Description Usage Arguments Value Author(s) See Also Examples
Extracts hypothesis matrices for terms in ANOVA tables detailing exactly which functions of the parameters are being tested in anova tables.
1 2 | ## S3 method for class 'anova'
show_tests(object, fractions = FALSE, names = TRUE, ...)
|
object |
an anova table with a |
fractions |
display entries in the hypothesis matrices as fractions? |
names |
if |
... |
currently not used. |
a list of hypothesis matrices.
Rune Haubo B. Christensen
show_tests
for ls_means
objects.
1 2 3 4 5 6 7 8 9 10 11 12 | # Fit basic model to the 'cake' data:
data("cake", package="lme4")
fm1 <- lmer(angle ~ recipe * temp + (1|recipe:replicate), cake)
# Type 3 anova table:
(an <- anova(fm1, type="3"))
# Display tests/hypotheses for type 1, 2, and 3 ANOVA tables:
# (and illustrate effects of 'fractions' and 'names' arguments)
show_tests(anova(fm1, type="1"))
show_tests(anova(fm1, type="2"), fractions=TRUE, names=FALSE)
show_tests(an, fractions=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.