This function allows to create a KM survival curve overall or splitted by a categorical variable
KM_LB.Rd
This function allows to create a KM survival curve overall or splitted by a categorical variable
Arguments
- Event
Event variable
- tEvent
Survival Time Variable
- strata
Variable to stratify (Default = 1)
- data
dataframe
- title
Graph title (Default = "Prova")
- xlab
x-axis title (Default = "Time in months")
- ylab
y-axis title (Default = "Probaility of Surv")
- xlim
limits of x-axis (Default is from 0 to maximum observed time)
- breaks_by
breaks of risk table(Default = 3)