nmScatterMatrix: NONMEM scatter-plot matrix

Description Usage Arguments Value Author(s) Examples

Description

Generates a scatterplot matrix of a set of variables from a PK/PD dataset

Usage

1
2
3
nmScatterMatrix(obj, vars, bVars = NULL, iVar = "ID",
  addLoess = FALSE, title = "", layout = NULL, maxPanels = NULL,
  maxTLevels = Inf, problemNum = 1, subProblems = 1, ...)

Arguments

obj

object of class NMProblem, NMRun or data.frame

vars

Character vector or comma seperated list of variable names to plot

bVars

character vector or comma-seperated list of trellis variables

iVar

Identifier variable

addLoess

Logical flag. Should a loess smoother curve be added to the scatter-plots?

title

Plot's main title

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. Overrides layout

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.

...

Additional parameters to splom.

Value

An object of class multiTrellis

Author(s)

Mango Solutions

Examples

1
2
3
test_data <- data.frame(X = 1:20, Y = 1:20, Z = c(1:10, seq(from = 11, to = 12, length.out = 10)),
W = 20:1, G = rep(LETTERS[1:2], 10), B = rep(letters[1:2], each = 10))
nmScatterMatrix(test_data, "X,Y", bVars = "B")

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