Description Usage Arguments Value Examples
View source: R/plot_roc_data.R
This function generates plotting ROC data for following data visualization.
1 | plot_roc_data(roc_res)
|
roc_res |
A list of results from multi_roc function. |
roc_res_df |
The dataframe of results from multi_roc function, which is easy be visualized by ggplot2. |
1 2 3 | data(test_data)
roc_res <- multi_roc(test_data)
roc_res_df <- plot_roc_data(roc_res)
|
Warning messages:
1: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
2: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
3: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
4: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
5: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
6: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) :
collapsing to unique 'x' values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.