kmplot_raw | R Documentation |
Kaplan-Meier Plot with Number at Risk Table
kmplot_raw(
fit,
group.name = NULL,
time.at = NULL,
surv.df = NULL,
col.pal = NULL
)
fit |
a |
group.name |
Group labels. Default is Group 1, Group 2, ... Group k. |
time.at |
Time points to evaluate the number at risk. |
surv.df |
Data frame containing survival time, event and risk group for log-rank test. |
col.pal |
color palette to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.