| add_cif_hazard_ratios | R Documentation |
Add CIF Hazard Ratios to Strata Labels
add_cif_hazard_ratios(
stratalabs,
data,
response,
cov,
plot.event = 1,
HR = FALSE,
HR_pval = FALSE,
HR.digits = 2,
HR.pval.digits = 3
)
stratalabs |
Original strata labels |
data |
Input data |
response |
Time and status variables |
cov |
Covariate |
plot.event |
Event for CIF (must be 1 for HR calculation) |
HR |
Whether to include HR |
HR_pval |
Whether to include HR p-value |
HR.digits |
Number of digits for HR |
HR.pval.digits |
Number of digits for HR p-value |
Updated strata labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.