Constructs an PeriodOfInterest object for span prevalence analyses.

createSpan(startDates, endDates)

Arguments

startYears

A numeric vector of start years of interest.

endYears

A numeric vector of end years of interest.

Value

A PeriodOfInterest R6 object.