title: Assign a value to character string
body: <p>I have responses to a survey in my <code>data.frame(Analysis)</code> that include:<br><br>
  <code>Q1 &lt;- c("Agree", "Strongly Agree", "Disagree", "Neither", "Agree", "Neither")</code><br><br>
  I wish to assign a value to each response, based upon their level. For example, <code>"Strongly Agree"</code> receives a 2 whilst <code>"Agree"</code> receives a score of 1. My desired output would be:<br><br>
  <code>Q1 &lt;- c("Agree", "Strongly Agree", "Disagree", "Neither", "Agree", "Neither")</code><br>
  <code>Q1_Score &lt;- c(1, 2, -1, 0, 1, 0)</code><br><br>
  This seems like an simple question but I am having difficulty in finding an answer!<br><br>
  Thank you.</p>