areaUnderCurve: Area Under The Curve (AUC)

Description Usage Arguments Details Value Author(s) References

Description

Compute the area under the receiver operating curve (AUC) based on the trapezoid method.

Usage

1
areaUnderCurve(y, probs, plot = FALSE)

Arguments

y

a vector of ones and zeros descirbing presense/absense

probs

predicted probabilities

plot

logical value indicating if the ROC should be ploted.

Details

See s. 38-42 in reference and Rune's excel ark.

Value

a scalar value

Author(s)

Hans Ole &Oslashrka hans.ole.orka@gmail.org

References

Halvorsen, R. 2012. A maximum likelihood explanation of MaxEnt, and some implications for distribution modelling. Sommerfeltia 36: 1-XXX. Oslo. ISBN 82-7420-0XXX. ISSN 0800-6865.


hansoleorka/myR documentation built on May 17, 2019, 2:29 p.m.