ROC and PR curve using R