formatTimeLim {patientProfilesVis} | R Documentation |
Format specified timeLim
.
Description
In case one of the limits if missing, the corresponding minimum/maximum across subjects is used.
Usage
formatTimeLim(
data,
subjectVar = "USUBJID",
timeStartVar,
timeEndVar,
timeLim = NULL
)
Arguments
data |
Data.frame with data. |
subjectVar |
String, variable of |
timeStartVar |
String, variable of |
timeEndVar |
String, variable of |
timeLim |
(optional) Vector of length 2 with time limits (x-axis).
If not specified, these are extracted from the minimum |
Value
Numeric vector of length 2 or list of such element for each subject.
Author(s)
Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]