kaplan.meier.Rd 513 B

123456789101112131415161718192021
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/km.R
  3. \name{kaplan.meier}
  4. \alias{kaplan.meier}
  5. \title{Create a KM plot}
  6. \usage{
  7. kaplan.meier(x, var, comment = "")
  8. }
  9. \arguments{
  10. \item{x}{a data frame that contains followup and censored columns}
  11. \item{var}{a categorical variable to split the data to sub-curves}
  12. \item{comment}{An additional piece of text to write in the curve}
  13. }
  14. \value{
  15. p probability that curves split by var differ significantly
  16. }
  17. \description{
  18. Create a KM plot
  19. }