Precision-Recall curve generation and estimation in R. Code for ECML 2013 paper on Area under the Precision-Recall Curve