areatriangles: Triangle Areas

Description Usage Arguments Value See Also

View source: R/areatriangles.R

Description

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.

Usage

1
areatriangles(line.slope, line.dist1)

Arguments

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

Value

This function return a list with:

auctri

Total area

areatri

Vector with all triangles areas

See Also

lineslope linedistance curvesegslope curvesegsloperef


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