Learn R Programming

xpose4 (version 4.5.3)

absval.iwres.cwres.vs.ipred.pred: Absolute population weighted residuals vs population predictions, and absolute individual weighted residuals vs individual predictions, for Xpose 4

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

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}.

Value

Returns a compound plot.

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.

See Also

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

Examples

Run this code

## We expect to find the required NONMEM run and table files for run
## 5 in the current working directory
xpdb5 <- xpose.data(5)


## 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)

Run the code above in your browser using DataLab