get_auc {EGAD}R Documentation

Calculates the area under a curve

Description

The function calculates the area under the curve defined by x and y

Usage

get_auc(x, y)

Arguments

x

numeric array

y

numeric array

Value

auc numeric value

Examples

x <- 1:100
y <- 1:100 
auc <- get_auc(x,y)
 

[Package EGAD version 1.12.0 Index]