CmpRsk {frailtyHL}R Documentation

Model Formula of Competing Risk

Description

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.

Usage

CmpRsk(time, index)

Arguments

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.


[Package frailtyHL version 2.3 Index]