getSubjectLevelItems: getSubjectLevelItems

Description Usage Arguments Value Examples

Description

Extract scalar subject level items from all subjects in all cohorts in a FAIRsimulator study object

Usage

1
getSubjectLevelItems(studyObj, items = "AgeAtRand")

Arguments

studyObj

A FAIRsimulator study object

items

A vector of the scalar subject level items to extract for each subject in each cohort.

Value

A data.frame with the columns: cohort name, SubjID and each of the entries in item.

Examples

1
2
3
4
## Not run: 
tmp <- getSubjectLevelItem(StudyObj,item=c("AgeAtRand","RandCohortTime"))

## End(Not run)

eniclas/FAIRsimulator documentation built on May 16, 2019, 5:12 a.m.