This function plots the survival curve for the provided data set as a Kaplan Meier plot. It can only be used for visualization and returns no numeric values.
A data frame containing at least the two columns “censored” and “True_STs”. Where “censored” contains the censorship status of the subject as either “0/F” for ‘uncensored subjects’ or “$1$/T” for ‘censored subjects’. This information is essential to be able to plot the KM curve.
A string of characters denoting the title of the plot produced.
Note that this function was intended only for visualization and does not return any numerical values as such.
A plot of the survival function “S(t)” against the survival times (unit-less) as calculated for the provided data set.
Bland JM, Altman DG. Survival probabilities (the Kaplan-Meier method). BMJ 1998;317;1572\ http://www.bmj.com/statsbk/12.dtl
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.