For competing risk settings, check if the requested cause is known to the object
checkCauses(cause, object)
cause
cause of interest
object
object either obtained with Hist or prodlim
Hist
prodlim