plotResVsTime | R Documentation |
Producing residuals vs time plots
plotResVsTime(
data,
metaData = NULL,
dataMapping = NULL,
plotConfiguration = NULL,
smoother = NULL,
plotObject = NULL
)
data |
A data.frame to use for plot. |
metaData |
A named list of information about |
dataMapping |
A |
plotConfiguration |
An optional |
smoother |
Optional name of smoother function:
|
plotObject |
An optional |
A ggplot
object
Other molecule plots:
plotBoxWhisker()
,
plotCumulativeTimeProfile()
,
plotDDIRatio()
,
plotGrid()
,
plotHistogram()
,
plotObsVsPred()
,
plotObservedTimeProfile()
,
plotPKRatio()
,
plotPieChart()
,
plotQQ()
,
plotResVsPred()
,
plotSimulatedTimeProfile()
,
plotTimeProfile()
,
plotTornado()
# Produce Obs vs Pred plot
resVsTimeData <- data.frame(x = c(1, 2, 1, 2, 3), y = c(5, 0.2, 2, 3, 4))
plotResVsTime(data = resVsTimeData, dataMapping = ResVsTimeDataMapping$new(x = "x", y = "y"))
# Produce Res vs Time plot with linear regression
plotResVsTime(
data = resVsTimeData,
dataMapping = ResVsTimeDataMapping$new(x = "x", y = "y"),
smoother = "lm"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.