From 7e24a81b5e1eebc1759c6b63bd2a7ef36a7ec512 Mon Sep 17 00:00:00 2001 From: Michael Seo Date: Fri, 30 Aug 2024 16:43:01 +0200 Subject: [PATCH] rev --- R/plot_km2.R | 1 + man/basic_kmplot2.Rd | 3 +++ 2 files changed, 4 insertions(+) diff --git a/R/plot_km2.R b/R/plot_km2.R index 37d8ad5..825d51c 100644 --- a/R/plot_km2.R +++ b/R/plot_km2.R @@ -155,6 +155,7 @@ kmplot2 <- function(weights_object, #' @param main_title a string, main title of the KM plot #' @param break_x_by bin parameter for \code{survminer} #' @param censor indicator to include censor information +#' @param xlab label name for x-axis of the plot #' @param xlim x limit for the x-axis of the plot #' @param use_colors a character vector of length up to 4, colors to the KM curves, #' it will be passed to 'col' of \code{lines()} diff --git a/man/basic_kmplot2.Rd b/man/basic_kmplot2.Rd index cf101b7..192c8d5 100644 --- a/man/basic_kmplot2.Rd +++ b/man/basic_kmplot2.Rd @@ -12,6 +12,7 @@ basic_kmplot2( main_title = "Kaplan-Meier Curves", break_x_by = NULL, censor = TRUE, + xlab = "Time", xlim = NULL, use_colors = NULL, use_line_types = NULL @@ -33,6 +34,8 @@ last line of title} \item{censor}{indicator to include censor information} +\item{xlab}{label name for x-axis of the plot} + \item{xlim}{x limit for the x-axis of the plot} \item{use_colors}{a character vector of length up to 4, colors to the KM curves,