Create a competing risks object.
Combine observed time and cause indicator to be a competing risks object.
A vector of observed times.
A vector of cause indicators.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.