title: Factor levels and scale_fill_manual() arguments ignored in ggplot R
body: <p>I am plotting a graph but the order of the factor levels that I assign as well as the function scale_fill_manual() are ignored by ggplot.</p>
  
  <p>The dataset is the german credit dataset that can be found in the UCI Machine Learning repository and the code is the following:</p>
  
  <pre><code> german_fct_train$Status_of_existing_account &lt;- factor(german_fct_train$Status_of_existing_account , 
                              levels = c("No_Account" , "less_than_0" , "between_0_and_200" ,  "greater_equal_to_200"))
  german_fct_train$Class &lt;- factor(german_fct_train$Class, levels = c("1" , "0"))
  
  ggplot( german_fct_train, aes( F_Credit_history, F_Status_of_existing_account)) +
    geom_jitter(aes(color = Class), size = 3, alpha = 0.5) +  theme_economist() + 
    theme(axis.text.x = element_text(angle = 90, hjust = 1)) + ggtitle("Status of existing checking account 
    and Credit History by Class") +
    xlab("Credit History") + ylab("Status of existing account") + 
    labs(fill="Class") +
    scale_fill_manual(limits= c("1", "0"), labels = c("Bad Customers" , "Good Customers"),  values = c("red", 'blue'))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/F8H3f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F8H3f.png" alt="enter image description here"></a></p>
  
  <p>Your advice will be appreciated.</p>