Survr | R Documentation |
Create an S4 class that represents formula response for recurrent event data modeled by methods based on counts and rate function. Note that the function is deprecated since version 0.5.0 and will be removed in future.
Survr(ID, time, event, origin = 0, check = TRUE, ...)
ID |
Subject identificators. It can be numeric vector, character vector, or a factor vector. |
time |
Time of reccurence event or censoring. In addition to numeric
values, |
event |
A numeric vector indicating failure cost or event indicator
taking positive values as costs ( |
origin |
The time origin of each subject or process. In addition to
numeric values, |
check |
A logical value suggesting whether to perform data checking
procedure. The default value is |
... |
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 apply to each subject respectively and include that
Subject identification, event times, censoring time, and event indicator cannot be missing or contain missing values.
There has to be only one censoring time not earlier than any event time.
The time origin has to be the same and not later than any event time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.