Closed binahmerd closed 4 years ago
This is working for me.
library(pROC)
data(aSAH)
aSAH$outcome <- ordered(aSAH$outcome)
aSAH$wfns <- ordered(aSAH$wfns)
auc(aSAH$outcome, aSAH$wfns)
Setting levels: control = Good, case = Poor
Setting direction: controls < cases
Area under the curve: 0.8237
Please include a minimal working example to reproduce this problem. In addition you omitted several important information that were requested when you opened the issue such as sessionInfo etc. These are potentially important to reproduce the issue. Please go back to the bug report form and add this information as well.
I am closing this issue for now as it lacks essential information to reproduce it. Feel free to re-open and provide a reproducible example.
I am very new to R and I am having an issue when trying to load the Library pROC, an error message keep up displaying. Please i need a solution on how to make this work, I attached the code snippet of my work, Thank you
library(pROC) #For area under the receive operation characteristics (ROC) curve Type 'citation("pROC")' for a citation.
Attaching package: ‘pROC’
The following objects are masked from ‘package:stats’: