Description Usage Arguments Value Examples
Modifies the print.summary.glht() and confint.summary.glht() functions so that the output is less verbose. For example, several labels and some intermediate calculations will not be printed unless asked for. In addition, several ‘extra’ blank lines were removed.
1 2 3 4 5 6 7 8 9 10 11 |
x |
An object of class |
digits |
A single numeric that indicates the number of digits to use |
signif.stars |
A logical that if |
justResults |
A single logical that indicates whether just the most pertinent numerical results are printed ( |
... |
Not implemented. |
Invisibly returns the sent x
.
1 2 3 4 5 6 7 8 9 10 11 | # from glht() in multcomp
if (require(multcomp)) {
amod <- aov(breaks ~ tension, data = warpbreaks)
mc1 <- glht(amod, linfct = mcp(tension = "Tukey"))
# new printing versions
summary(mc1)
confint(mc1)
# nearly the same as the original functions
print(summary(mc1),justResults=FALSE)
print(confint(mc1),justResults=FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.