See the FAQ: How to do a minimal reproducible example reprex
for beginners for how to make a complete working example. Without data
it's hard to tell much. Have you checked
length(pred) #predicted?
length(ROCC)
See the FAQ: How to do a minimal reproducible example reprex
for beginners for how to make a complete working example. Without data
it's hard to tell much. Have you checked
length(pred) #predicted?
length(ROCC)