rec.Rd
Create a recurrent event object
rec(id, time, status)
A vector of id variable.
A vector of follow-up times.
A vector of event type, 1 = recurrent event, 2 = death, and 0 = censoring;
An object of class rec used as an argument for rmtfit.
rec
rmtfit