diff --git a/R/plot_km2.R b/R/plot_km2.R index 1051107..37d8ad5 100644 --- a/R/plot_km2.R +++ b/R/plot_km2.R @@ -170,6 +170,7 @@ basic_kmplot2 <- function(kmlist, main_title = "Kaplan-Meier Curves", break_x_by = NULL, censor = TRUE, + xlab = "Time", xlim = NULL, use_colors = NULL, use_line_types = NULL) { @@ -195,7 +196,7 @@ basic_kmplot2 <- function(kmlist, break.x.by = break_x_by, censor = censor, censor.size = 2, - xlab = "Time", + xlab = xlab, ylab = endpoint_name, legend.title = "Treatment", legend = c(0.85, 0.82),