llr.plot: Score-to-Log-Likelihood-Ratio plot

View source: R/llr.plot.R

llr.plotR Documentation

Score-to-Log-Likelihood-Ratio plot

Description

This function shows the optimal score-to-log-likelihood-ratio function as is determined by computing the ROC convex hull.

Usage

llr.plot(x)

Arguments

x

An object of class roc, or for convenience a data frame with columns target and score

Details

llr.plot plots the transformation from scores to log-likelihood-ratios such that the log-likelihood-ratios are optimally calibrated for the data x. It effectively creates a roc object, and draws the relation between score and opt.llr, which is found after isotonic regression of the scores.

Author(s)

David A. van Leeuwen

Examples

data(ru.2009)
llr.plot(ru.2009)

davidavdav/ROC documentation built on Sept. 8, 2023, 2:39 p.m.