get_auc: Calculates the area under a curve

Description Usage Arguments Value Examples

View source: R/get_auc.R

Description

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

Usage

1
get_auc(x, y)

Arguments

x

numeric array

y

numeric array

Value

auc numeric value

Examples

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

EGAD documentation built on Nov. 8, 2020, 8:31 p.m.