areatriangles {Comp2ROC} | R Documentation |
This function allows to calculate the triangles area formed with two points that was next to each other and the reference point. It also allows to calculate the total area based on the previous triangles.
areatriangles(line.slope, line.dist1)
line.slope |
Vector with all sampling lines slope |
line.dist1 |
Vector with the ROC Curves and sampling lines intersection points, the distance between this points and the reference point |
This function return a list with:
auctri |
Total area |
areatri |
Vector with all triangles areas |
lineslope
linedistance
curvesegslope
curvesegsloperef