curvesegsloperef: Segment Slopes to Reference Point

Description Usage Arguments Value

View source: R/curvesegsloperef.R

Description

This function allows to calculate the segments slope that connect the ROC curve segments with the reference point (1,0).

Usage

1
curvesegsloperef(curve.fpr, curve.tpr, ref.point)

Arguments

curve.fpr

False positive rate vector with all points of the given Curve

curve.tpr

True positive rate vector with all points of the given Curve

ref.point

Reference point where we start drawing the sample lines

Value

This function returns a vector with all segments slopes that connect the ROC curve points to the reference point.


Comp2ROC documentation built on May 2, 2019, 3:35 p.m.