grades ranking help required

Is there a way to create a function or there is a command that can rank A, A-, B+, B, B- and so on, in that order. I am trying to plot the # of students in each grade vs. grade to determine grade distribution, but r histogram plots, A, A-, B, B+, B- and so on.

Thank you for the help.


Just define an ordered factor for all grades.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.