View source: R/summary_utility_functions.R
| km_summary | R Documentation |
Calculates median survival for each treatment group using Kaplan-Meier.
km_summary(Y, E, Treat)
Y |
Numeric vector of outcome. |
E |
Numeric vector of event indicators. |
Treat |
Numeric vector of treatment indicators. |
Numeric vector of medians.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.