\(\hat{f}(x)\)
f_hat.Rd\(\hat{f}(x)\)
Arguments
- t
A time point at which hazard estimates are sought.
- lifetime
A numeric vector representing the observed time to event.
- event
event indicator
- 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.