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)
 

sarbal/EGAD documentation built on May 5, 2021, 5:10 p.m.