Description Usage Arguments Value Author(s) Examples
View source: R/ggboxplot_facet.R
Draw box plot based on ggplot2, using data containing grouping info. Can draw multiple variables
1 2 3 4 5 6 7 8 9 | ggboxplot_facet(
data,
comparisons = NULL,
test = "wilcox.test",
x.text.angle = 45,
map_signif_level = TRUE,
tip_length = 0,
textsize_sifnif = 4
)
|
data |
A data frame that containing the grouping info and multiple numeric variables. |
comparisons |
a list that indicated which group to be compared. |
test |
he method that used for significant test, one of "t.test" and "wilcox.test". The default method is "wilcox.test". |
x.text.angle |
A numeric number indicated the angle of axix.test.x. |
map_signif_level |
A logic value |
tip_length |
the length of tip, default is 0 |
textsize_sifnif |
the text size of signifcant |
a ggplot2 object
Zhonghui Gai
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.