powered by
Fast computation of influence function for Nelson-Aalen estimator of the censoring times
IC_Nelson_Aalen_cens_time(time, status)
A square matrix where each column corresponds to a subject and each row to a time point.
sorted vector of event times. Sorted according to time and -status so that events come first a tied times.
sorted vector of 0 = censored or 1 = event (any cause). Sorted according to time and -status so that events come first a tied times.
Thomas Alexander Gerds <tag@biostat.ku.dk>
time = c(1,3,3,4) status = c(1,0,1,1) IC_Nelson_Aalen_cens_time(time,status)
Run the code above in your browser using DataLab