md_decorate_component_cause_k.RdAdd info about component cause of failure to a masked data frame with latent components available. This is normally only posible in a simulation setting, where we know the true component cause of failure, although such information may also be carefully gathered in a real-world setting.
md_decorate_component_cause_k(df, comp = "t")masked data frame
column prefix for component lifetimes, defaults to t,
a data frame with a new k column