View source: R/plot_violin_facet.R
Plot a violin plot with ggplot facet_grid to assess data distribution based on a qualitative variable.
1 2 | plot_violin_facet(df_, factor_, value_var, facet_var = NULL,
adjust_ = 1, xlab = NULL, ylab = NULL, my_title = NULL)
|
df_ |
data frame |
factor_ |
qualitative variable/factor |
value_var |
explanatory variable |
facet_var |
factor to use for facet_grid |
adjust_ |
smoothing parameter |
xlab |
xlab |
ylab |
ylab |
my_title |
title for the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.