Closed elsie-h closed 1 year ago
Turns out between[date1, date2] returns NA when date1>date2, so we can use between in the clinical_event_date_x function to avoid the error when the ceiling date is returned (see thread here).
between[date1, date2]
NA
date1>date2
between
clinical_event_date_x
Turns out
between[date1, date2]
returnsNA
whendate1>date2
, so we can usebetween
in theclinical_event_date_x
function to avoid the error when the ceiling date is returned (see thread here).