Skip to contents

[Deprecated]

Usage

plotResidualsVsTime(
  dataCombined,
  defaultPlotConfiguration = NULL,
  scaling = "lin"
)

Arguments

dataCombined

A single instance of DataCombined class containing both observed and simulated datasets to be compared.

defaultPlotConfiguration

A DefaultPlotConfiguration object, which is an R6 class 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.