Description Usage Arguments Value Author(s) Examples
View source: R/base_Fastboxplot.R
fast way to draw a boxplot
1 2 | Fastboxplot(data, x, y, fill, facet, palette = NULL, x.lab, y.lab,
legend.position = "none", x.test.angle = 0, add.jitter = T)
|
data |
a data frame |
x, y, fill, facet |
parameters of ggpubr::ggboxplot |
palette |
fill color of box |
x.lab |
the title of x axis |
y.lab |
the title of y axis |
legend.position |
legend.position |
x.test.angle |
the angle of text on the x axis |
add.jitter |
whether add points with jitter style |
a boxplot
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | data(mtcars)
data=mtcars
x="vs"
y="disp"
fill="vs"
facet=NULL
facet="am"
x.lab="vs of mtcars"
y.lab="disp of mtcars"
## quick start of Fastboxplot
Fastboxplot(data,
x,y,fill,facet,
palette=NULL,
x.lab,y.lab,
legend.position="none",
x.test.angle=0,
add.jitter=T)
#change fill color
show.color(mycolor)
Fastboxplot(data,
x,y,fill,facet,
palette=c("#8DD3C7","#FB8072"),
x.lab,y.lab,
legend.position="none",
x.test.angle=0,
add.jitter=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.