A function to construct the observationWindow

continuousObservation(priorDays = 0L, postDays = 0L)

Arguments

priorDays

minimum number of observation days prior to the cohort index. Default 0 days

postDays

minimum number of observation days post cohort index. Default 0 days

Value

An observation window that can be used in a Capr cohort definition