Learn R Programming

Comp2ROC (version 1.1.4)

diffareatriangles: Difference Between Area Triangles

Description

This function allows to calculate the difference between triangles areas formed by the same sampling lines in two different ROC curves. It also allows to calculate the difference between total areas.

Usage

diffareatriangles(area.triangle1, area.triangle2)

Arguments

area.triangle1
Vector with all triangles areas of the Curve 1
area.triangle2
Vector with all triangles areas of the Curve 2

Value

This function returns a list with:
diffareas
Difference between each triangle area
diffauc
Difference between total areas

See Also

areatriangles