xrobin / pROC

Display and analyze ROC curves in R and S+
https://cran.r-project.org/web/packages/pROC/
GNU General Public License v3.0
121 stars 31 forks source link

Implement CI for multiclass.roc #38

Open xrobin opened 5 years ago

xrobin commented 5 years ago

CI is broken for multiclass.roc:

data(aSAH)
multiclass.roc(aSAH$gos6, aSAH$s100b, ci=TRUE)
Error in roc.default(response, predictor, levels = X, percent = percent,  : 
  formal argument "ci" matched by multiple actual arguments

It is also not possible to calculate a CI on an existing object:

ci(multiclass.roc(aSAH$gos6, aSAH$s100b))
Error in roc.default(response, predictor, ...) : No valid data provided.

This should work easily for univariate multiclass.roc. The new mv.multiclass.roc might need a bit more work.

xrobin commented 5 years ago

CI has really never been implemented for multiclass.roc. Dead code disabled and cleaner error messages implemented until it is available.

snagaraj0 commented 4 years ago

Is this available yet?

xrobin commented 4 years ago

@snagaraj0 This is pretty low in my priority list. I'm unlikely to have time to implement it any time soon, but I always welcome pull requests. Let me know if you'd like to contribute!