Creates R6 object for DateRange

createDateRange(startDate, endDate)

Arguments

startDate

a character vector representing a date in YYYY-MM-DD format

endDate

a character vector representing a date in YYYY-MM-DD format

Value

a new instance of CohortIncidence::DateRange