R/theme_eumelareg_surv_plot.R

Defines functions theme_eumelareg_surv_plot

Documented in theme_eumelareg_surv_plot

#' Theme for survival curves in EuMelaReg style
#'
#' This function defines the basic graphical representation of survival curves (Kaplan-Meier Plots) for EuMelaReg
#' @param textsize The default textsize used for survival curves.
#' @export

theme_eumelareg_surv_plot <- function(textsize =12){
  theme_eumelareg_base() +
    theme(axis.line.y.left = element_line(),
          axis.line.x.bottom = element_line(),
          axis.text = element_text(size = textsize, color = "black"),
          axis.title = element_text(face = "bold", size = textsize))
}
MBender1992/emR documentation built on Feb. 18, 2025, 9:21 a.m.