title: adding labels to ggplot2 point based on column variables
body: <p>I am trying to add labels to my scatter plot based on another columns variables.</p>
  <p><code>ggplot(differentrace, aes(x=DifferentRace, y=Parents)) + geom_point() + geom_text(label=rownames(differentrace))</code></p>
  <p>My table is</p>
  <pre><code>      Parents             Different Race 
  1    1 UK born           2.32
  2    Both UK born        2.58
  3    Neither             2.24 
  </code></pre>
  <p><a href="https://i.stack.imgur.com/gQrxG.png" rel="nofollow noreferrer">Output</a></p>
  <p>This is my output, instead of the 1,2,3 labels I would like the labels to be 1 UK born, Both UK born, or Neither. Also I would like to offset the labels slightly to not obstruct the data points.</p>
  <p>Thanks</p>