The off diagonal entries are misclassified. 2 means for two observations actual category was neutral but predicted class using the classifier was negative.
To answer your other question try using the dnn argument found in the confusionMatrix documentation:
https://www.rdocumentation.org/packages/caret/versions/3.45/topics/confusionMatrix
1 Like