Description Usage Arguments Value Author(s) Examples
Draw boxplot based on ggplot2, using data containing grouping info. Only can draw one valuable. Function 1.
1 2 3 4 5 6 7 8 9 10 11 |
data |
A dataframe that containing the grouping info and multiple numeric valiabes. |
variable |
The column that will be used to draw the bar plot. |
comparisons |
a list that indicated which group to be compared. |
test |
The method that used for significant test, one of "t.test" and "wilcox.test". The default method is "wilcox.test". |
jitter |
A boolean value indicates whether add jitters points to the plot. The default value is TRUE. |
y_position |
A vector shows the values to be used in positions of the results significant tests. |
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 |
The ggbarplot
Zhonghui Gai
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.