View source: R/boxwhisker-get-measure.R
getBoxWhiskerMeasure | R Documentation |
Get a summary table of Box Whisker percentiles
getBoxWhiskerMeasure(
data,
dataMapping = NULL,
y = NULL,
group = NULL,
quantiles = c(0.05, 0.25, 0.5, 0.75, 0.95)
)
data |
A data.frame to use for plot. |
dataMapping |
A |
y |
Name of |
group |
Name of grouping variable in |
quantiles |
Numeric values between 0 and 1 defining the quantiles to summarize |
A data.frame of summary statistics
# Get box-and-whisker plots of log-normal distributed data
boxData <- data.frame(x = c(rep("A", 500), rep("B", 500)), y = rlnorm(1000))
getBoxWhiskerMeasure(data = boxData, dataMapping = BoxWhiskerDataMapping$new(x = "x", y = "y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.