plot_boxplot | R Documentation |
Easy creation of a boxplot
plot_boxplot( df, x, ..., ylog = T, addPoints = T, statTest = T, addn = T, outputExpr = F, colwrap = NA, wrapscale = "free", methodCompar = "wilcox.test" )
df |
dataframe to analyze |
x |
categorica covariate |
... |
continue value for y abcis. If several values, will create one plot per ... column vs x |
ylog |
If True, set log y scale |
addPoints |
If True, add all points in addition to boxplots |
statTest |
If True, use statistiscal test through ggpubr package |
addn |
If True, add numer of patietn per group |
outputExpr |
if True return the Peccary independant R code instead of the output |
colwrap |
name of a column to wrap the output. Used only if length of ... is equal to 1 |
wrapscale |
scale of wrap |
methodCompar |
method to use for statistical test (same as ggpubr) |
Thibaud Derippe (Thibaud.Derippe@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.