A list that returns both an object of class Surv that forces in the competing risks indicators and a vector of weights needed for parameter estimation.
Arguments
ftime
Numeric: Observed event (failure) times
fstatus
Numeric: Observed event (failure) types
cvweights
Numeric: Vector of 0/1 (cross-validation) weights for each data row
cencode
Numeric: Code to denote censored observations (Default is 0)
failcode
Numeric: Code to denote event of interest (Default is 1)