The data

The predicted variable is a categorical response, named resp with levels ‘1’, ‘2’, ‘3’, and ‘4’ (nominal labels, not numerical values). The predictor is a categorical/nominal variable named group, with levels ‘A’ through ‘K’.

<img alt=“” aria-label=“” role=“img” src=“https://blogger.googleusercontent.com/img/a/AVvXsEjpyrI6bRz0EF4eXfV1VDjxWAEnr_W6kQuHV0WnqY46GQasrafLGeiaXrLb_u12Awzy7oPOI8MbAptLN-Df64kYLr7SmSJdbi9eIgkV96v9nq6zW1IGq7r8_SuGP0offKc3h6slMOGTVANQI5cpu4P-5mseToAVDDsQaE5yElJjBOT9V_yFUbGmnZa0Vr-X" width=“672” …