Re: [R] Prediction-class ROCR

2009-03-24 Thread Regina Beretta Mazaro
azaro. > Date: Thu, 19 Mar 2009 10:14:00 +0100 > Subject: Re: [R] Prediction-class ROCR > From: tobias.s...@gmail.com > To: rberet...@hotmail.com > CC: r-help@r-project.org > > Regina, > > to get a simple ROC curve, use the following sequence of commands: > pred <-

Re: [R] Prediction-class ROCR

2009-03-19 Thread Tobias Sing
Regina, to get a simple ROC curve, use the following sequence of commands: pred <- prediction(predictions, labels) perf <- performance(pred, "tpr", "fpr") plot(perf) In the first line, 'predictions' are the raw predictions (usually numerical) of your classifier, and labels (as you correctly guesse

[R] Prediction-class ROCR

2009-03-18 Thread Regina Beretta Mazaro
Hi, I'm involved in a bioinformatics project at my university, and we're doing a comparison paper between some methods of classification of nc-RNA. I've been encharged of ploting the ROC curves' graphs. But I'm new on working with R and I'm having some difficulty with the prediction-class.