aeqSurv(x, tolerance = sqrt(.Machine$double.eps))
survfit
and coxph
to
deal with the issue of ties that get incorrectly broken due to
floating point imprecision. See the short vignette on tied times
for a simple example. Use the timefix
argument of
survfit
or coxph.control
to control the option
if desired. The rule for `equality' is identical to that used by the
all.equal
routine. Pairs of values that are within round off
error of each other are replaced by the smaller value.
An error message is generated if this process causes a 0 length
time interval to be created.survfit
, coxph.control