[R] ROC curve

David Winsemius dwinsemius at comcast.net
Mon Jan 30 18:49:36 CET 2012


On Jan 30, 2012, at 4:52 AM, Josiane NJIWA wrote:

>
>
> Hello all,
>
> I am very new to R and i am facing two problems. First i didn't  
> succeed changing the konsole language in english even after trying  
> the line command set language='en'.

R is a functional language, so it shouldn't surprise you that issuing  
a "command" does not do what you apparently expected based on your  
experience with macro languages. You should read:

?locales


> I would like to plot ROC curves. I have a serie of 10 threshold  
> tests that i do for 10 patients. The prediction for the patients is  
> always the same but the status can change given to the considered  
> threshold.
> I have 11 columns of 10 rows, the first colums containing the10  
> lines of the predicted status of the patients (0=cured, 1=non  
> cured). Then follow 10 columns (10 thresholds) containing the found  
> status using the threshold.
> Please do someone know how i can use those values with R to plot ROC  
> curves?
>
> I thank you for your understanding,
>
> Josiane.
>
>
> "Everything should be made as simple as possible, but not  
> simpler."    Albert Einstein.
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list