Description Usage Arguments Details Value Author(s) References Examples

The function computes AUC.

1 |

`x` |
numeric vector. |

`y` |
numeric vector. If missing, |

`group` |
grouping vector or factor. |

`switchAUC` |
logical value. Switch AUC; see Details section. |

The function computes the area under the receiver operating characteristic curve (AUC under ROC curve).

If `AUC < 0.5`

, a warning is printed and `1-AUC`

is returned. This
behaviour can be suppressed by using `switchAUC = FALSE`

The implementation uses the connection of AUC to the Wilcoxon rank sum test; see Hanley and McNeil (1982).

AUC value.

Matthias Kohl [email protected]

J. A. Hanley and B. J. McNeil (1982). The meaning and use of the area under a receiver
operating characteristic (ROC) curve. *Radiology*, **143**, 29-36.

1 2 3 4 5 6 |

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.