View source: R/plot-boxwhisker.R
plotBoxWhisker | R Documentation |
Producing box-and-whisker plots
plotBoxWhisker(
data,
metaData = NULL,
outliers = NULL,
dataMapping = NULL,
plotConfiguration = NULL,
plotObject = NULL
)
data |
A data.frame to use for plot. |
metaData |
A named list of information about |
outliers |
Logical defining if outliers should be included in boxplot |
dataMapping |
A |
plotConfiguration |
An optional |
plotObject |
An optional |
A ggplot
object
For examples, see: https://www.open-systems-pharmacology.org/TLF-Library/articles/box-whisker-vignette.html
Other molecule plots:
plotCumulativeTimeProfile()
,
plotDDIRatio()
,
plotGrid()
,
plotHistogram()
,
plotObsVsPred()
,
plotObservedTimeProfile()
,
plotPKRatio()
,
plotPieChart()
,
plotQQ()
,
plotResVsPred()
,
plotResVsTime()
,
plotSimulatedTimeProfile()
,
plotTimeProfile()
,
plotTornado()
# Produce box-and-whisker plots of log-normal distributed data
boxData <- data.frame(x = c(rep("A", 500), rep("B", 500)), y = rlnorm(1000))
plotBoxWhisker(data = boxData, dataMapping = BoxWhiskerDataMapping$new(x = "x", y = "y"))
# Remove outliers from boxplot
plotBoxWhisker(
data = boxData,
dataMapping = BoxWhiskerDataMapping$new(x = "x", y = "y"),
outliers = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.