Description Usage Arguments Details Value

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

1 | ```
auc_diff(x, y)
``` |

`x` |
Numeric vector of the x-values |

`y` |
A numeric matrix |

If `y`

has 2 columns, then each column should be the values for each
subject group. If `y`

has multiple columns (e.g., equal to the number of
vertices of a graph), it will calculate the AUC for each column.

A numeric value of the difference between two groups, or a numeric vector of the AUC across vertices

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.