MS Data Ids

ms_ids(cohort = c("cross_sectional", "longitudinal"))

Arguments

cohort

cohort (cross-sectional or longitudinal) of data

Value

A vector of IDs

Examples

ms_ids()
#>  [1] "patient01" "patient02" "patient03" "patient04" "patient05" "patient06"
#>  [7] "patient07" "patient08" "patient09" "patient10" "patient11" "patient12"
#> [13] "patient13" "patient14" "patient15"
ms_ids("longitudinal")
#>  [1] "patient01" "patient02" "patient03" "patient04" "patient05" "patient06"
#>  [7] "patient07" "patient08" "patient09" "patient10" "patient11" "patient12"
#> [13] "patient13" "patient14" "patient15" "patient16" "patient17" "patient18"
#> [19] "patient19" "patient20"