surv_extract_plot | R Documentation |
This function can plot any of the columns of the output of 'surv_extract'
surv_extract_plot( data, color = "id", legendgroup = "id", type = c("wx", "surv") )
data |
the result of a 'surv_extract' call. |
color |
name of the column to be used as color. |
legendgroup |
name of the column to agregate the legend. Used only when ploting more than one curve with 'plotly::subplot'. |
type |
should the wx or the surv column be plotted? |
a plotly of the requested column versus time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.