Plots a CI curve. Currently not very powerful. Only plots a single curve
1 2 3 |
data |
dataframe containing data |
response |
character vector or list of character vector. If a list it plot the '1' event for all outcomes on the same plot |
group |
string of the group want to stratify by |
units |
units of time |
main |
String corresponding to title |
CI |
Bool If True will plot CI and only the '1' event. if F will plot all events except for the final one |
legpos |
string indicating which position to put legend choies are "topright" etc |
xlim |
numeric vector corresponding to xlimits. Default is NULL |
outcomes |
character vector of the names of the different competing outcomes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.