title: Trying change legend title and text in ggplot2
body: <p>I'm trying to make a plot with the legend title as "Condition" and the subsequent condition names renamed to just "Deviant" and "Standard". The other stack overflow answers were not working for me. I tried scale_fill_manual and now scale_shape_discrete. </p>
  
  <pre><code>ggplot(data = vintscondensed, aes(x = factor(vint, levels = 
      c("zero","one", "two", "three", "four", "five", "six", "seven", 
      "eight", "nine")), y = value, group = BinLab)) + 
    geom_line(aes(color = BinLab)) + 
    geom_point() + 
    labs(x = "Vicintiles", y = "ms", linetype = "Trial Type") + 
    theme(text = element_text(size = 20)) + 
    theme_bw() + 
    scale_shape_discrete(name = "Condition", breaks = c("Deviant_RT", "Standard_RT"), labels = c("Deviant", "Standard"))
  </code></pre>
  
  <p>If anyone can help me, it would be greatly appreciated. Attached is the plot I've currently made. I just want to change the legend text. 
  <a href="https://i.stack.imgur.com/4H4BO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4H4BO.png" alt="enter image description here"></a></p>