curvesegslope {Comp2ROC} | R Documentation |
This function allows to calculate the ROC curve segments slope through the points that are given by parameter.
curvesegslope(curve.fpr, curve.tpr)
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 |
This function returns a vector with all segments slopes