Producing Time Profile plots for observed data
Usage
plotObservedTimeProfile(
data,
metaData = NULL,
dataMapping = NULL,
plotConfiguration = NULL,
plotObject = NULL
)Arguments
- data
A data.frame to use for plot.
- metaData
A named list of information about
datasuch as thedimensionandunitof its variables.- dataMapping
An
ObservedDataMappingobject mappingx,y,ymin,ymaxand aesthetic groups to their variable names ofobservedData.- plotConfiguration
An optional
TimeProfilePlotConfigurationobject defining labels, grid, background and watermark.- plotObject
An optional
ggplotobject on which to add the plot layer
See also
Other molecule plots:
plotBoxWhisker(),
plotCumulativeTimeProfile(),
plotDDIRatio(),
plotGrid(),
plotHistogram(),
plotObsVsPred(),
plotPKRatio(),
plotPieChart(),
plotQQ(),
plotResVsPred(),
plotResVsTime(),
plotSimulatedTimeProfile(),
plotTimeProfile(),
plotTornado()
Examples
# Produce a Time profile plot with observed data
obsData <- data.frame(x = c(1, 2, 1, 2, 3), y = c(5, 0.2, 2, 3, 4))
plotObservedTimeProfile(
data = obsData,
dataMapping = ObservedDataMapping$new(x = "x", y = "y")
)