Create a boxplot from a vector of data to overlay on the densityviolin plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 | dv_boxplot(
.data,
group,
x,
box_width = 1,
vp = "dviolin_plot::violin_panel",
box_col = "black",
box_fill = "black",
median_col = "red",
show_outliers = FALSE,
coef = 1.5,
pch = 16
)
|
.data |
Data from to generate boxplot from |
x |
The variable to use as boxplot values. |
vp |
|
y |
Factor variable representing the y coordinate to plot box. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.