title: R Categorical Variable Orders for plotting
body: <p><a href="http://i.stack.imgur.com/Vo698.png" rel="nofollow">On the right hand side is the current order of the categorical variable</a></p>
  
  <p>I'm trying to change the order so "Charged Off" and "Default" is at the bottom while the rest of them remains unchanged. I can't seem to get either reorder or relevel to work. Most of the time I get the error</p>
  
  <pre><code>Error: unexpected string constant in "post09$LoanStatus &lt;- relevel(post09$LoanStatus, ref = c("Cancelled", Completed", ""
  </code></pre>