Description Usage Arguments Value See Also
This function allows to calculate the intersection points between the ROC curve and the sampling lines. Also calculates the distance between this points and the reference point.
1 | linedistance(curve.fpr, curve.tpr, curve.segslope, curve.slope, line.slope, ref.point)
|
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 |
curve.segslope |
Vector with all segments slope of the ROC curves |
curve.slope |
Vector with all the slope of all segments that connect the ROC curve with the reference point |
line.slope |
Vector with the slope of all sampling lines |
ref.point |
Reference point where we start drawing the sampling lines |
This function returns a list with:
dist |
Vector with distances between the intersection points and the reference points |
x |
Vector with all x coordinates of intersection points |
y |
Vector with all y coordinates of intersection points |
lineslope
curvesegslope
curvesegsloperef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.