roc_line | R Documentation |
A function to add an ROC curve to an existing ROC plot.
roc_line(cp, ca, byDR = FALSE, cumdata = FALSE, ...)
cp |
A vector of cp id rates or frequencies. |
ca |
A vector of ca id rates or frequencies. |
byDR |
Whether to order ids by diagnosticity ratios. Defaults to FALSE. |
cumdata |
Whether to output the cumulative data that are used to create the ROC curves. Default to FALSE. |
... |
Additional plotting parameters.
For example, users can change x-axis and y-axis labels using |
Plot ROC curves and calculate AUCs as side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.