show_tests.ls_means {lmerTest} | R Documentation |
Extracts the contrasts which defines the LS-mean hypothesis tests.
## S3 method for class 'ls_means'
show_tests(object, fractions = FALSE, names = TRUE, ...)
object |
an |
fractions |
display contrasts as fractions rather than decimal numbers? |
names |
include row and column names of the contrasts matrices? |
... |
currently not used. |
a list of contrast matrices; one matrix for each model term.
Rune Haubo B. Christensen
ls_means
for computation of
LS-means and show_tests
for anova
objects.
data("cake", package="lme4")
model <- lmer(angle ~ recipe * temp + (1|recipe:replicate), cake)
# LS-means:
(lsm <- ls_means(model))
# Contrasts for LS-means estimates and hypothesis tests:
show_tests(lsm)