1234567891011121314151617181920212223242526272829 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/km.R
- \name{kaplan.meier.plot.gg}
- \alias{kaplan.meier.plot.gg}
- \title{Plot a Kaplan-Meier curve with ggsurvfit}
- \usage{
- kaplan.meier.plot.gg(x, var, ...)
- }
- \arguments{
- \item{x}{data frame containing followup and censored column}
- \item{var}{name of variable to stratify by}
- \item{...}{other parameters:
- \itemize{
- \item varName name of variable for title (NOT GIVEN)
- \item comment additional text to print on plot (empty string)
- \item reorder whether to change order of categorical variable labels in legend (FALSE)
- \item unit unit for time axis
- \item my.legend.title title to set to legend (varName)
- \item my.title title for the plot (Kaplan-Meier plot by varName)
- \item my.labels labels for cases
- \item draw.axis draw title and axis (FALSE)
- \item my.n number of classes (2)
- }}
- }
- \description{
- Plot a Kaplan-Meier curve with ggsurvfit
- }
|