Through the use of the survSplit
and tmerge
functions, a
counting process data set will gain more and more rows of data.
Occassionally it is useful to collapse this surplus back down, e.g.,
when interest is to be focused on only a few covariates, or for
debugging. The right hand side of formula
will often have only
a few variables, in this use.
If a row of data is censored, and represents the same covariates and
identifier as the row below it, then the two rows can be merged
together using a single (time1, time2) interval. The compression can
sometimes be large.
The start
, stop
and end
options are used when the
left hand side of the formula has expressions that are not a simple
name, e.g. Surv(time1, time2, death | progression)
would be a
case where event
is used to set the outcome variable's name.