model_specification objectidentify_competing_risk.Rdidentify_competing_risk is data descriptor function used to identify a competing risk variable.
identify_competing_risk(name = NULL, event_value = 1)The name of a variable in the input data with a censoring. This should be supplied as an expression not a character string. The censoring date should be in days from time 0.
The value of the variable that indicates the event is the event of interest, all other values denote competing events.
A object that can be used by specify_models to add information
about the outcome to the data description function.