rec {rmt} | R Documentation |
Create a recurrent event object
Description
Create a recurrent event object
Usage
rec(id, time, status)
Arguments
id |
A vector of id variable. |
time |
A vector of follow-up times. |
status |
A vector of event type, 1 = recurrent event, 2 = death, and 0 = censoring; |
Value
An object of class rec
used as an argument for rmtfit
.
[Package rmt version 1.0 Index]