View source: R/boxplot.with.summary.statistic.R
myBoxplot | R Documentation |
Boxplot that adds an additional summary statistic (default: mean)
myBoxplot(
x,
summaryFunc = mean,
mpch = 19,
mcol = "black",
addSummary = TRUE,
...
)
x |
List, data.frame or matrix for where for each column a boxplot is made |
summaryFunc |
A function that computes a summary statistic for a vector of values. Default is mean |
mpch |
The pch value used to plot the value of summaryFunc in the plot |
mcol |
Color (or vector of colors) used to plot the value of summaryFunc |
addSummary |
Boolean toggle to plot the summaryFunc or not. |
... |
Parameters passed to boxplot |
A boxplot with the value of the summary statistic indicated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.