Description Usage Arguments Value Examples
kmTable provides summary information from a kaplan-meier survival model, including median survival, event counts, and pairwise comparisons.
1 |
data |
data.frame containing all data |
time |
Variable name contaning time data |
event |
Variable name containing event data (event = 1, censor = 0) |
group |
Variable name containing groupiong variable |
R data.frame containing all km info
1 2 3 4 | #example_df <- data.frame(a = sample(c(0, 1), 100, replace = T),
# b = sample(letters[24:26], 100, replace = T),
# c = rnorm(100))
#kmTable(data=example_df, time = "c", event = "a", group = "b")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.