| add_median_text | R Documentation |
Add median survival text to plot
add_median_text(
p,
type,
multiple_lines,
median_txt,
median.pos = NULL,
times,
ylim,
median.size = 3,
plot.event = 1,
eventlabs = NULL
)
p |
ggplot object |
type |
Plot type |
multiple_lines |
Whether multiple strata |
median_txt |
Median text |
median.pos |
Position for median text |
times |
Time breaks |
ylim |
Y-axis limits |
median.size |
Text size |
plot.event |
Events being plotted |
eventlabs |
Event labels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.