Skip to contents

A graphical comparison between the WRES and CWRES as plotted against the independent variable. Conditional weighted residuals (CWRES) require some extra steps to calculate. Either add CWRES to your NONMEM table files or compute them using the information proveded in compute.cwres. A wide array of extra options controlling xyplots are available. See xpose.plot.default and xpose.panel.default for details.

Usage

cwres.wres.vs.idv(
  object,
  ylb = "Residuals",
  abline = c(0, 0),
  smooth = TRUE,
  scales = list(),
  ...
)

Arguments

object

An xpose.data object.

ylb

A string giving the label for the y-axis. NULL if none.

abline

Vector of arguments to the panel.abline function. No abline is drawn if NULL.

smooth

A NULL value indicates that no superposed line should be added to the graph. If TRUE then a smooth of the data will be superimposed.

scales

scales is passed to xpose.plot.default.

...

Other arguments passed to xpose.plot.default.

Value

A compound xyplot.

Author

Niclas Jonsson & Andrew Hooker

Examples

cwres.wres.vs.idv(simpraz.xpdb)