Description Usage Arguments Details Value Examples
Extracts the names of the cohorts in the CohortList is a FAIRsimulator study object.
1 | getCohortNames(StudyObj)
|
StudyObj |
A FAIRsimulator |
This is an internal function that extracts the values of the Name slot in the CohortList list of a FAIRsimulator study object.
It is typically used to set the names of the CohortList components, so that they can be extracted using names(CohortList) and referred to by name, e.g.
CohortList[[cohortName]].
A character vector
1 2 3 4 | ## Not run:
names(StudyObj$CohortList) <- getCohortNames(StudyObj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.