plot_roc_data: Generate ROC plotting data

Description Usage Arguments Value Examples

Description

This function generates plotting ROC data for following data visualization.

Usage

1
plot_roc_data(roc_res)

Arguments

roc_res

A list of results from multi_roc function.

Value

roc_res_df

The dataframe of results from multi_roc function, which is easy be visualized by ggplot2.

Examples

1
2
3
data(test_data)
roc_res <- multi_roc(test_data)
roc_res_df <- plot_roc_data(roc_res)

WandeRum/multiROC documentation built on May 17, 2019, 6:08 a.m.