Have look in the ROCR package and Example's. HTH Christian > What is the difference between ROC curve and gains/lift chart? > > how to do them in R? > > Thanks. >