[R] survSplit: further exploration and related topics

Thomas Lumley tlumley at u.washington.edu
Tue Nov 9 16:03:07 CET 2004

On Tue, 9 Nov 2004, BXC (Bendix Carstensen) wrote:

> To Danardonos concern of splitting time for records with delayed entry:

There was actually no intention of supporting counting-process input, but 
it turns out to be a one-line change: from
        starttime <- c(starttime, rep(cut, each = n))
        starttime<-c(starttime, pmax(starttime, rep(cut,each=n)))

about 20 lines down from the top.  This will be in the next release of 
survival, but not until after R 2.0.1


More information about the R-help mailing list