pROC icon indicating copy to clipboard operation
pROC copied to clipboard

Implement CI for multiclass.roc

Open xrobin opened this issue 6 years ago • 3 comments

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 avatar Jan 20 '19 10:01 xrobin

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

xrobin avatar Mar 11 '19 11:03 xrobin

Is this available yet?

snagaraj0 avatar Jul 12 '20 21:07 snagaraj0

@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!

xrobin avatar Jul 15 '20 08:07 xrobin