Survr
is an S3 class that represents
formula response for recurrent event data
modeled by methods based on counts and rate function.
The last letter 'r' in 'Survr' represents 'rate'.
Survr(ID, time, event, check = TRUE, ...)
Identificator of each subject.
Time of reccurence event or censoring.
The status indicator, 0 = censored, 1 = event.
Logical value suggesting whether to perform data checking
procedure. The default value is TRUE
. FALSE
should be set
with caution and only for processed data already in recerruent event
data framework.
Other arguments for future usage.
This is a similar function to Survr
in package
survrec but with a more considerate checking procedure embedded for
recurrent event data modeled by methods based on counts and rate function.
The checking rules include that
Identification of each subject cannot be missing.
Event indicator must be coded as 0 (censored) or 1 (event).
Event time and censoring time must be numeric and cannot be missing.
Each subject must have only one censoring time.
Event time cannot not be later than censoring time.
rateReg
for model fitting.