getCohortAgeRange: getCohortAgeRange

Description Usage Arguments Value Examples

Description

Creates a lookup data frame with CohortName, Recruitment age range and a Label for the age group.

Usage

1
2
getCohortAgeRange(StudyObj, cohortAgeNames = c("0-6 months", "6-12 months",
  "12-18 months"))

Arguments

StudyObj

A FAIRsimulator study object

cohortAgeNames

An optional vector of labels for the age groups

Value

A data frame with columns CohortName, AgeRange and CohortAge

Examples

1
2
3
4
## Not run: 
getCohortAgeRange(StudyObj)

## End(Not run)

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