Function that creates a cohort exit object

exit(endStrategy, censor = NULL)

Arguments

endStrategy

the endStrategy object to specify for the exit

censor

the censoring criteria to specify for the exit

Value

A cohort exit object that can be used in a cohort definition