In case of caret package test function metric option, one can use either accuracy or ROC as a metric that will be used to finalize values of tuning parameters. I felt that accuracy and ROC are the same
Accuracy = total correct predictions/total samples
ROC= looks at various probability cutoffs and gives probability cutoff at which accuracy will be the best.
Am I correct?