The Cohort Era depicts the time span of the cohort. The Censor Window includes the date window for which we register events. The Collapse Settings identify the era padding between events before exiting a cohort.

era(eraDays = 0L, studyStartDate = NULL, studyEndDate = NULL)

Arguments

eraDays

a numeric that specifies the number of days for the era padding

studyStartDate

a date string that specifies the starting date of registration

studyEndDate

a date string that specifies the end date of registration

Value

a S4 CohortEra class object defining the eras of the cohort definition