To make the plot on the left, we have to reorder the levels of the states’ variables.
Note what happens when we make a barplot:
Define these objects:
Redefine the state object so that the levels are re-ordered. Print the new object state and its levels so you can see that the vector is not re-ordered by the levels.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here