Convert time-to-event data (typically created with the
function) to factor or integer.
Time point to dichotomize at.
Depending on the type of
If no time point is given the observation times will be stripped, leaving
only the event types. If a time point is given
observations with events occurring before
time will be labelled by
their event type,
observations with events occurring after
time will be labelled as
“no event”, and
observations censored before
time will be considered as missing
Integer vector or factor.