Description Usage Arguments Details Author(s) See Also Examples
Computes the LS-means for the final backward reduced model and passes these
to plot.ls_means
.
1 2 3 4 5 6 7 8 9 10 11 |
x |
a |
y |
not used and ignored with a warning. |
which |
optional character vector naming factors for which LS-means should
be plotted. If |
pairwise |
pairwise differences of LS-means? |
mult |
if |
level |
confidence level. |
ddf |
denominator degree of freedom method. |
... |
currently not used. |
Error bars are confidence intervals - the default is 95 level can be changed.
Rune Haubo B. Christensen and Alexandra Kuznetsova
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Fit example model:
tv <- lmer(Sharpnessofmovement ~ TVset * Picture +
(1 | Assessor:TVset) + (1 | Assessor:Picture) +
(1 | Assessor:Picture:TVset) + (1 | Repeat) + (1 | Repeat:Picture) +
(1 | Repeat:TVset) + (1 | Repeat:TVset:Picture) + (1 | Assessor),
data = TVbo)
# Backward reduce the model:
(st <- step(tv)) # takes ~10 sec to run
# Pairwise comparisons of LS-means for Picture and TVset:
plot(st, which=c("Picture", "TVset"), pairwise = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.