control_annot | R Documentation |
Auxiliary functions for controlling arguments for formatting the annotation tables that can be added to plots
generated via g_km()
.
control_surv_med_annot(x = 0.8, y = 0.85, w = 0.32, h = 0.16, fill = TRUE)
control_coxph_annot(
x = 0.29,
y = 0.51,
w = 0.4,
h = 0.125,
fill = TRUE,
ref_lbls = FALSE
)
x |
( |
y |
( |
w |
( |
h |
( |
fill |
( |
ref_lbls |
( |
A list of components with the same names as the arguments.
control_surv_med_annot()
: Control function for formatting the median survival time annotation table. This annotation
table can be added in g_km()
by setting annot_surv_med=TRUE
, and can be configured using the
control_surv_med_annot()
function by setting it as the control_annot_surv_med
argument.
control_coxph_annot()
: Control function for formatting the Cox-PH annotation table. This annotation table can be
added in g_km()
by setting annot_coxph=TRUE
, and can be configured using the control_coxph_annot()
function
by setting it as the control_annot_coxph
argument.
g_km()
control_surv_med_annot()
control_coxph_annot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.