Arguments
- dataCombined
A single instance of
DataCombinedclass containing both observed and simulated datasets to be compared.- defaultPlotConfiguration
A
DefaultPlotConfigurationobject, which is anR6class object that defines plot properties.- scaling
A character of length one specifying the scale type for residual. can be lin or log.
Examples
# Create a new instance of `DefaultPlotConfiguration` class
myPlotConfiguration <- DefaultPlotConfiguration$new()
myPlotConfiguration$title <- "My Plot Title"
myPlotConfiguration$subtitle <- "My Plot Subtitle"
myPlotConfiguration$caption <- "My Sources"
# plot
plotResidualsVsTime(
dataCombinedAciclovir,
scaling = "lin",
defaultPlotConfiguration = myPlotConfiguration
)
#> Warning: `plotResidualsVsTime()` was deprecated in ospsuite 12.4.2.
#> ℹ Please use `plotResidualsVsCovariate()` instead.
#> ℹ It will be removed in version 14.0.