R/KMunicate-package.R

#' @title KMunicate-Style Kaplan–Meier Plots
#'
#' @description Produce Kaplan–Meier plots in the style recommended following the KMunicate study, \doi{10.1136/bmjopen-2019-030215}.
#'
#' @docType package
#' @name KMunicate-package
#' @aliases KMunicate-package
#' @author Alessandro Gasparini (alessandro@@ellessenne.xyz)
#' @import cowplot ggplot2 pammtools survival tidyr
NULL

# Quiets concerns of R CMD check re: variable names used internally
if (getRversion() >= "2.15.1") utils::globalVariables(c("time", "surv", "lower", "upper", "strata", "table_group", "n.event", "n.censor", "n.risk", "name", "value"))

Try the KMunicate package in your browser

Any scripts or data that you put into this service are public.

KMunicate documentation built on Aug. 26, 2023, 5:08 p.m.