[R] pROC

David Winsemius dw|n@em|u@ @end|ng |rom comc@@t@net
Tue Jul 24 23:38:04 CEST 2018

> On Jul 23, 2018, at 4:43 AM, Maria Enzian <M.Enzian using gmx.de> wrote:
> Hello,
> I'm using the package pROC in RStudio to create my ROC-curves and I have patients in my data - healthy or sick - in the column "Status" and the value "SUVmax" to examine it.
> I used the following code:
> plot.roc(daten$Status,daten$SUVmax,percent=TRUE,ci=TRUE,print.auc=TRUE,main="ROC-Kurve für den SUVmax")
> The ROC-curve I got is ok, but on the x-axis I got a specificity from 150% to -50%, but I want the scale from 100% to 0% (as usual).
> xlim=c(100,0) doesn't work.
> Can someone help me?

Perhaps if we had data that allowed investigation, we might be able to help, but the example dataset on the help page shows `plot.roc` to be delivering expected results.

> Best regards
> M.Enzian
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law

More information about the R-help mailing list