Description Usage Arguments Examples
This function will plot a KM curve with possible stratification. You can specifyif you want a legend or confidence bands as well as the units of time used.
1 2 3 4 5 6 7 8 9 10 |
data |
dataframe containing your data |
response |
character vector with names of columns to use for response |
group |
string specifiying the column name of stratification variable |
pos |
what position you want the legend to be. Current option are bottomleft and topright |
units |
string specifying what the unit of time is use lower case and plural |
CI |
boolean to specify if you want confidence intervals |
legend |
boolean to specify if you want a legend |
title |
title of plot |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.