Learn R Programming

xpose4 (version 4.5.3)

parm.vs.parm: Plot parameters vs other parameters

Description

This function plots the parameter values stored in an Xpose data object versus each other in a series of graphs. The mirror functionality is available for this function.

Usage

parm.vs.parm(object,
           onlyfirst=TRUE,
           abline= FALSE,
           smooth=TRUE,
           type="p",
           main="Default",
           ...)

Arguments

object

An xpose.data object.

onlyfirst

Logical value indicating whether only the first row per individual is included in the plot.

abline

Allows for a line of identity.

smooth

Logical value indicating whether an x-y smooth should be superimposed. The default is TRUE.

type

The plot type - defaults to points only.

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 xpose.plot.default.

Value

Returns a stack of xyplots and histograms of parameters against parameters.

Details

Each of the parameters in the Xpose data object, as specified in object@Prefs@Xvardef$parms, is plotted against the rest, creating a stack of plots.

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

Examples

Run this code

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


parm.vs.parm(xpdb)


parm.vs.parm(xpdb,mirror=3)

Run the code above in your browser using DataLab