add_outliers | R Documentation |
Annotation to highlight outliers.
add_outliers(variable, categories, cutoff = 3,
fill = par()$bg, col = par()$fg, bars = par()$fg, lwd = par()$lwd,
verbose = FALSE)
variable |
continuous variable to to plot on y-axis (numeric or integer). |
categories |
discrete variable to break down groups (factor or string). |
cutoff |
minimum number (default 3L) of standard deviations to report. |
fill |
colour of spots. Scalar applied to all columns or a vector for each category. |
col |
colour of rings or borders. Scalar applied to all columns or a vector for each category. |
bars |
colour of horizontal bars. Scalar applied to all columns or a vector for each category. |
lwd |
thickness of border. |
verbose |
to print logs (defaults to FALSE). |
Annotate violin plots with outliers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.