roc_data: Auxiliar functions for data plots

View source: R/ggplots.R

roc_dataR Documentation

Auxiliar functions for data plots

Description

Auxiliar functions for data plots

Usage

roc_data(actual, predicted)

ecdf_data(actual, predicted)

Arguments

actual

actual

predicted

predicted

Examples


N <- 10000
predicted <- runif(N)
actual <- rbinom(N, size = 1, prob = predicted)

roc_data(actual, predicted)
ecdf_data(actual, predicted)


jbkunst/risk3r documentation built on March 19, 2024, 10:49 p.m.