-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I have been trying to use multi_roc for a few days and I run into this error.
I have 4 binary predictors of an outcome (DX) and would like to run multi-ROC to generate the AUC.
I get the error below
summary(data.complete)
DX_pred_febsz DX_pred_etio DX_pred_enceph DX_pred_szfreq DX_true
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:0.0000 1st Qu.:1.0000 1st Qu.:0.0000
Median :1.0000 Median :0.0000 Median :0.0000 Median :1.0000 Median :1.0000
Mean :0.7266 Mean :0.4865 Mean :0.2229 Mean :0.9224 Mean :0.6675
3rd Qu.:1.0000 3rd Qu.:1.0000 3rd Qu.:0.0000 3rd Qu.:1.0000 3rd Qu.:1.0000
Max. :1.0000 Max. :1.0000 Max. :1.0000 Max. :1.0000 Max. :1.0000
multiroc.data <- multi_roc(data.complete, force_diag = TRUE)
Error in colnames<-(*tmp*, value = character(0)) :
attempt to set 'colnames' on an object with less than two dimensions