Plot the parameter or covariate distributions using quantile-quantile (Q-Q) plots

Description

These functions plot the parameter or covariate values stored in an Xpose data object using Q-Q plots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
parm.qq(object,
           onlyfirst = TRUE,
           main="Default",
           ...)
           
ranpar.qq(object,
           onlyfirst = TRUE,
           main="Default",
           ...)
         
cov.qq(object,
           onlyfirst = TRUE,
           main="Default",
           ...)

Arguments

object

An xpose.data object.

onlyfirst

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

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

Details

Each of the parameters or covariates in the Xpose data object, as specified in object@Prefs@Xvardef$parms, object@Prefs@Xvardef$ranpar or object@Prefs@Xvardef$covariates, is evaluated in turn, creating a stack of Q-Q plots.

A wide array of extra options controlling Q-Q plots are available. See xpose.plot.qq for details.

Value

Delivers a stack of Q-Q plots.

Author(s)

Andrew Hooker & Justin Wilkins

See Also

xpose.plot.qq, xpose.panel.qq, qqmath, xpose.data-class, xpose.prefs-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## 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

## Not run: 
## A stack of parameter histograms, with 3 mirror panes
parm.qq(xpdb5, mirror=3)

## End(Not run)

## A stack of random parameter histograms
ranpar.qq(xpdb)

## Covariate distribution, in green with red line of identity
cov.qq(xpdb, col=11, ablcol=2)

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