timeLim
.In case one of the limits if missing, the corresponding minimum/maximum across subjects is used.
formatTimeLim(
data,
subjectVar = "USUBJID",
timeStartVar,
timeEndVar,
timeLim = NULL
)
Numeric vector of length 2 or list of such element for each subject.
Data.frame with data.
String, variable of data
with subject ID
String, variable of data
with start of time interval.
String, variable of data
with end of time interval.
(optional) Vector of length 2 with time limits (x-axis).
If not specified, these are extracted from the minimum timeStartVar
and maximum timeEndVar
per subject.
The time limits are stored as attributes of the plots,
used to align the plots in the final report.
Laure Cougnaud