View source: R/miscellaneous.R
formatTimeLim | R Documentation |
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 )
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 |
Numeric vector of length 2 or list of such element for each subject.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.