Auxiliary function for estimate_hazard
check_censored.RdAuxiliary function for estimate_hazard
Arguments
- lifetime
A numeric vector representing the observed time to event.
- censoring_indicator
An indicator for censoring (1=censored, 0=not). Defaults to a vector of 0s if
NULL. An observation is only treated as an event if status=1 AND censoring=0.- support_lifetime_rv
A
vectorof time points at which to evaluate the hazard. IfNULL(the default), it is calculated for a sequence fromDelta + 1toomega(that is,max(lifetime)).