Plots the distribution for a given column(s) or for a column by group.
1 2 | plotDataDist(dat, colNms = NULL, byCol = NULL, violCol = "gray70",
outAlpha = 0.5, yLogScale = FALSE, facetScales = "free")
|
dat |
dataset |
colNms |
the column(s) you want to plot |
byCol |
by group column name by which to facet the plots |
violCol |
the colour of the violin |
outAlpha |
the transparency for the boxplot outliers |
yLogScale |
if true, plot the y-axis on a log-10 scale |
facetScales |
"free" or "fixed" to set the y-axis among plots |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.