powered by
auc(hr.v, far.v)
# Calculate the AUC for a vector of hit rates and false alarm rates auc(hr.v = c(.1, .3, .5, .7), far.v = c(.05, .1, .15, .3))
Run the code above in your browser using DataLab