Learn R Programming

brainGraph (version 1.0.0)

auc_diff: Difference in the area-under-the-curve of two vectors

Description

This function takes two vectors, calculates the area-under-the-curve (AUC), and calculates the difference between the two.

Usage

auc_diff(x, y)

Arguments

x
Numeric vector of the x-values
y
A 2-column numeric matrix; each column contains the values for one group

Value

A numeric value of the difference between two groups