diff --git a/R/plot_km2.R b/R/plot_km2.R index 37d8ad53..825d51ce 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 cf101b75..192c8d5c 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,