sortSubjects {patientProfilesVis} | R Documentation |
Sort subjects based on a specified dataset/variable.
Description
Sort subjects based on a specified dataset/variable.
Usage
sortSubjects(
subjects,
subjectVar = "USUBJID",
subjectSortData = NULL,
subjectSortVar = NULL,
subjectSortDecreasing = FALSE,
verbose = FALSE
)
Arguments
subjects |
Character vector with subjects of interest |
subjectVar |
String, variable of |
subjectSortData |
Data.frame with data containing information on how the subjects should be sorted. |
subjectSortVar |
Variable(s) of |
subjectSortDecreasing |
Logical, if TRUE (FALSE by default)
subjects are sorted based on inverse order of |
verbose |
logical, if TRUE print messages during execution |
Value
Updated subjects
Author(s)
Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]