Description Usage Arguments Value Author(s) Examples
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
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, ...)
|
obj |
An object of class |
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 |
subProblems |
The sub problem of a run with simulations |
yAxisScaleRelations |
Y-axis scale relations when
panels are displayed. One of |
xAxisScaleRelations |
X-axis scale relations when
panels are displayed. One of |
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 |
Multitrellis class object containing the plot.
Mango Solutions
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.