Absolute population weighted residuals vs population predictions, and absolute individual weighted residuals vs individual predictions, for Xpose 4

Share:

Description

This is a matrix plot of absolute population weighted residuals (|CWRES|) vs population predictions (PRED) and absolute individual weighted residuals (|IWRES|) vs individual predictions (IPRED), a specific function in Xpose 4. It is a wrapper encapsulating arguments to the absval.cwres.vs.pred and absval.iwres.vs.ipred functions.

Usage

1
2
3
4
5
6
absval.iwres.wres.vs.ipred.pred(object,
           main="Default",
           ...)
absval.iwres.cwres.vs.ipred.pred(object,
           main="Default",
           ...)

Arguments

object

An xpose.data object.

main

The title of the plot. If "Default" then a default title is plotted. Otherwise the value should be a string like "my title" or NULL for no plot title. For "Default" the function xpose.multiple.plot.title is used.

...

Other arguments passed to link{xpose.plot.default}.

Details

The plots created by the absval.wres.vs.pred and absval.iwres.vs.ipred functions are presented side by side for comparison.

A wide array of extra options controlling xyplots are available. See xpose.plot.default for details.

Value

Returns a compound plot.

Author(s)

E. Niclas Jonsson, Mats Karlsson, Andrew Hooker & Justin Wilkins

See Also

absval.wres.vs.pred, absval.iwres.vs.ipred, xpose.plot.default, xpose.panel.default, xyplot, xpose.prefs-class, xpose.data-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
## We expect to find the required NONMEM run and table files for run
## 5 in the current working directory
xpdb5 <- xpose.data(5)

## End(Not run)

## Here we load the example xpose database 
data(simpraz.xpdb)
xpdb <- simpraz.xpdb

## A vanilla plot
absval.iwres.wres.vs.ipred.pred(xpdb)
absval.iwres.cwres.vs.ipred.pred(xpdb)

## Custom colours and symbols
absval.iwres.cwres.vs.ipred.pred(xpdb, cex=0.6, pch=8, col=1)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.