Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cwres.wres.vs.pred

Weighted residuals (WRES) and conditional WRES (CWRES) plotted against the population predictions (PRED)


Description

Graphically compares WRES and CWRES as plotted against the population predictions.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.pred(
  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(s)

Niclas Jonsson & Andrew Hooker

See Also

Examples

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

xpose4

Diagnostics for Nonlinear Mixed-Effect Models

v4.7.1
LGPL (>= 3)
Authors
Andrew C. Hooker [aut, cre, cph], Mats O. Karlsson [aut, cph], Justin J. Wilkins [aut], E. Niclas Jonsson [aut, trl, cph], Ron Keizer [ctb] (functionality for bootstrap of GAM and SCM)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.