| create_risk_table | R Documentation |
Create risk table for survival plot
create_risk_table(
sfit,
times,
xlim,
stratalabs,
stratalabs.table = NULL,
strataname.table = "",
Numbers_at_risk_text = "At Risk",
multiple_lines = TRUE,
col = NULL,
fsize = 12,
nsize = 3
)
sfit |
Survival fit object |
times |
Time points for risk table |
xlim |
X-axis limits |
stratalabs |
Strata labels |
stratalabs.table |
Table-specific strata labels |
strataname.table |
Table strata name |
Numbers_at_risk_text |
Text for numbers at risk |
multiple_lines |
Whether multiple strata |
col |
colours for strata |
fsize |
Font size |
nsize |
Number size in table |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.