Description Usage Arguments Value Examples
Draw Tukey Honest Significant Differences plot
1 | ggHSD(tukey, no = 1, digits = 2, interactive = FALSE)
|
tukey |
A object of class "TukeyHSD", the result of TukeyHSD() |
no |
An integer specify the order of list |
digits |
integer indicating the number of decimal places |
interactive |
A logical value. If TRUE, an interactive plot will be returned |
A (interactive) ggplot
1 2 3 4 5 6 |
Loading required package: ggplot2
List of 1
$ tension: num [1:3, 1:4] 4.72 14.72 10 -4.63 5.37 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:3] "M-H" "L-H" "L-M"
.. ..$ : chr [1:4] "diff" "lwr" "upr" "p adj"
- attr(*, "class")= chr [1:2] "TukeyHSD" "multicomp"
- attr(*, "orig.call")= language aov(formula = breaks ~ wool + tension, data = warpbreaks)
- attr(*, "conf.level")= num 0.95
- attr(*, "ordered")= logi TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.