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

par_cov_qq

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

cov.qq(object, onlyfirst = TRUE, main = "Default", ...)

parm.qq(object, onlyfirst = TRUE, main = "Default", ...)

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

...

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.

Functions

  • cov.qq: Covariate distributions

  • parm.qq: parameter distributions

  • ranpar.qq: random parameter distributions

Author(s)

Andrew Hooker & Justin Wilkins

See Also

Examples

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

## parameter histograms
parm.qq(xpdb)

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

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.