plotQQ | R Documentation |
Producing Histograms
plotQQ(
data = NULL,
metaData = NULL,
y = NULL,
dataMapping = NULL,
plotConfiguration = NULL,
plotObject = NULL
)
data |
A data.frame to use for plot. |
metaData |
A named list of information about |
y |
Numeric values to plot along the |
dataMapping |
A |
plotConfiguration |
An optional |
plotObject |
An optional |
A ggplot
object
Other molecule plots:
plotBoxWhisker()
,
plotCumulativeTimeProfile()
,
plotDDIRatio()
,
plotGrid()
,
plotHistogram()
,
plotObsVsPred()
,
plotObservedTimeProfile()
,
plotPKRatio()
,
plotPieChart()
,
plotResVsPred()
,
plotResVsTime()
,
plotSimulatedTimeProfile()
,
plotTimeProfile()
,
plotTornado()
# Produce QQ plot of normally distributed data
plotQQ(y = rnorm(100))
# Produce QQ plot of normally distributed data split by group
qqData <- data.frame(
residuals = c(rnorm(100), rnorm(100)),
groups = c(rep("Group A", 100), rep("Group B", 100))
)
plotQQ(
data = qqData,
dataMapping = QQDataMapping$new(y = "residuals", group = "groups")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.