The function calculates the area under the curve defined by x and y
get_auc(x, y)
x
numeric array
y
auc numeric value
x <- 1:100 y <- 1:100 auc <- get_auc(x,y)