timeEventSPlot: NONMEM Time to Event Scatter Plot

Description Usage Arguments Value Author(s) Examples

Description

Generate scatter plot of concentration/DV against time for each individual in a NONMEM object. These will be line plots, with vertical reference lines at dosing times

Usage

1
2
3
4
5
6
timeEventSPlot(obj, concVar = "DV", tVar = "TIME", doseVar = "AMT",
  evtVar = "EVID", iVar = "ID", subjectNum = NULL, title = NULL,
  xLab = NULL, yLab = NULL, layout = NULL, maxPanels = NULL,
  problemNum = 1, subProblems = 1, xAxisScaleRelations = c("same", "free",
  "sliced"), yAxisScaleRelations = c("same", "free", "sliced"),
  expX = FALSE, expY = FALSE, xRotAngle = 0, ...)

Arguments

obj

An object of class NMRun, NMProblem, or data.frame. The object from which data will be plotted.

concVar

Dependent variable.

tVar

Time variable.

doseVar

Dosing amount variable.

evtVar

Event identifier variable.

iVar

Subject identifier variable.

subjectNum

A vector of subject numbers. Otherwise, all subject numbers are plotted.

title

Main title

xLab

X-axis label

yLab

Y-axis label

layout

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

maxPanels

Maximum number of panels to display on each page

problemNum

The problem required for a NMRun object

subProblems

The sub problem of a run with simulations

yAxisScaleRelations

Y-axis scale relations when panels are displayed. One of "same", "free" or "sliced".

xAxisScaleRelations

X-axis scale relations when panels are displayed. One of "same", "free" or "sliced".

expX

Logical flag. Exponentiate x-axis variable?

expY

Logical flag. Exponentiate the y-axis variables?

xRotAngle

Single numeric. Angle by which to rotate

...

Additional parameters to xyplot

Value

Multitrellis class object containing the plot.

Author(s)

Mango Solutions

Examples

1
2
3
4
5
6
## Not run: 
Theoph2 <- as.data.frame(transform(Theoph, Evt = as.numeric((Time == 0)) ))
timeEventSPlot(Theoph2, tVar = "Time", concVar = "conc",
  doseVar = "Dose", evtVar = "Evt", iVar = "Subject")

## End(Not run)

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