nmQQNorm: NONMEM qqplot

Description Usage Arguments Value Author(s) Examples

Description

Generates a qq-plot (for the normal distribution) from one or more NONMEM variables

Usage

1
2
3
4
5
6
nmQQNorm(obj, vars, bVars = NULL, iVar = "ID", titles = "",
  xLabs = "normal", yLabs, addGrid = TRUE, qqLine = TRUE,
  yAxisScaleRelations = c("same", "free", "sliced"), layout = NULL,
  maxPanels = NULL, maxTLevels = Inf, problemNum = 1,
  subProblems = 1, xAxisScaleRelations = c("same", "free", "sliced"),
  ...)

Arguments

obj

NMRun, NMProblem, or data.frame object

vars

Vector or comma-separated list of variables to plot

bVars

Vector or comma-separated list of "by" variables

iVar

Identifier variable

titles

Main title

xLabs

x-axis label

yLabs

y-axis label

addGrid

unused

qqLine

logical flag. Should a reference line be added?

yAxisScaleRelations

One of "same" "free" "sliced". How panel x axes are scaled in relation to each other

layout

Numeric vector giving the number of columns, rows and pages in a multipanel display.

maxPanels

Maximum number of panels that should appear on each page of a graph.

maxTLevels

If a single numeric (or string), the maximum number of levels that a "by" variable can have before it is binned. If a character vector or a vector of length greater than one, the explicit breakpoints.

problemNum

The problem required for a NMRun object.

subProblems

The sub problem of a run with simulations.

xAxisScaleRelations

One of "same" "free" "sliced". How panel x axes are scaled in relation to each other

...

additional parameters to pass to qqmath

Value

Multi-trellis class object containing the plot

Author(s)

Mango Solutions

Examples

1
2
3
4
5
## Not run:  
nmQQNorm(ChickWeight.df,"weight", bVar =  "Diet", xAxisScaleRelations="free")

## End(Not run)
nmQQNorm(sleep, "extra", bVar = "group", xLabs = "Normal distribution", titles = "Sleep data", yLabs = "Extra sleep")

MangoTheCat/RNMGraphics documentation built on May 8, 2019, 3:51 p.m.