title: Abbreviate vector of names in R, using stringr library
body: <p>I have this variable:</p>
  
  <pre><code>names&lt;-c("Sophia Abbe", "Olivia Abbett", "Emma Abbey", "Ava Abbitt", "Isabella Abbot", "Mia Abbott", "Aria Abbs")
  </code></pre>
  
  <p>I want to abbreviate the first names and place them into a vector.</p>
  
  <p>I want to obtain a vector like ("S. Abbe", "O. Abbett", ... , "A. Abbs)</p>
  
  <p>What would be an efficient way of doing this with the stringr functions str_c(), str_split() and str_sub() ? </p>