CmpRsk: Model Formula of Competing Risk

Description Usage Arguments

View source: R/CmpRsk.R

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

1
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.


frailtyHL documentation built on Dec. 1, 2019, 1:25 a.m.