nelsaalen_timefixed.RdVersion of mice::nelsonaalen but with the
control = survival::coxph.control(timefix = FALSE) argument added
to the survival::coxph call. This is to deal with floating point errors
within the simulation procedure, where two or more simulated time points
with minimal difference between would normally be considered as a tie.
nelsaalen_timefixed(dat, timevar, statusvar, timefix = FALSE)
| dat | Data frame with time and status variables |
|---|---|
| timevar | Column name of time variable |
| statusvar | Column name of (numeric) status variable |
| timefix | Logical, whether to apply timefix or not. If TRUE it corresponds
to using |