% Generated by roxygen2: do not edit by hand % Please edit documentation in R/km.R \name{kaplan.meier} \alias{kaplan.meier} \title{Create a KM plot} \usage{ kaplan.meier(x, var, comment = "") } \arguments{ \item{x}{a data frame that contains followup and censored columns} \item{var}{a categorical variable to split the data to sub-curves} \item{comment}{An additional piece of text to write in the curve} } \value{ p probability that curves split by var differ significantly } \description{ Create a KM plot }