Create a survival recurrent object, usually used as a response variable in a model formula
Usage
Survr(id, time, event)
is.Survr(x)
Arguments
id
Identificator of each subject. This value is the same for all recurrent times of each subject.
time
time of reccurence. For each subject the last time are censored.
event
The status indicator, 0=no recurrence 1=recurrence. Only this values are accepted.
x
any R object.
Value
An object of class Survr. Survr objects are implemented as a matrix of 3 colummns. No method for print.In the case of is.Survr, a logical value T if x inherits from class "Survr", otherwise an F.