From cad8442da6ee966f931a9f2d1f3f6b0d5ea46ea8 Mon Sep 17 00:00:00 2001 From: Michael Seo Date: Fri, 30 Aug 2024 16:40:37 +0200 Subject: [PATCH] rev --- R/plot_km2.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/plot_km2.R b/R/plot_km2.R index 10511076..37d8ad53 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),