A CmpRsk object is used as the response variable in the model formula. It is created using the function CmpRsk(time, index), where time is the event time and index is an event indicator.
1 |
time |
the event time |
index |
the event indicator; values of index must be sequential whole numbers where 0 denotes right censoring and positive numbers refer to different event types. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.