Skip to content

problem concernig Survsplit, package survival

1 message · Terry Therneau

#
On 08/20/2016 05:00 AM, Vinzenz wrote:
The survSplit routine was recently updated to allow a formula as the first argument.  This 
change makes the routine much easier to use and more flexible.  Old forms of the call 
should have worked as well, but unfortunately I introduced a bug in the code.  For the 
time being, change your call to
    dfSurvCP <- survSplit(Surv(obsT, status) ~ ., dfSurv, cut=seq(30, 90, by=30), id="ID", 
zero=0)

I will fix this.  I apologize for the error.

Terry Therneau