View source: R/save_surv_plot_eumelareg.R
save_surv_plot_eumelareg | R Documentation |
survplot_eumelareg
This function saves a default EuMelaReg survival plot (Kaplan-Meier plot) produced with survminer
.
save_surv_plot_eumelareg(
data,
time,
status,
var,
legend.labs = NULL,
regID = "REGISTR",
registry = "EUMELAREG",
path = NULL,
...
)
data |
dataframe containing survival data. |
time |
The time interval from start of observation until date of event (e.g. disease progression or death) or censoring. |
status |
Variable specifying if event occured or data has been censored. |
var |
Variable tested for Influence on outcome. |
legend.labs |
Character vector specifying legend labels. Used to replace the names of the strata from the fit. |
regID |
Name of column containing registry information. Default is "REGISTR" as defined by SAS output. |
registry |
Name of EuMelaReg registry. If |
path |
File path where the plot shall be stored. By default a folder "Results/survival_curve" is generated within the working directory and objects are stored in this subfolder. |
... |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.