title: How can I convert Degree minute sec to Decimal in R?
body: <p>I have this dataframe:</p>
  
  <pre><code>Lat        Long
  59 44 50   151 45 11
  59 49 28   154 52 56
  59 46 42   150 45 15
  </code></pre>
  
  <p>How can I convert this into decimal columns? </p>
  
  <p>lat is in dd mm ss and long is in ddd mm ss</p>
  
  <p>I found a similar solution here, but couldn't adapt the regex for my case.</p>
  
  <p><a href="https://stackoverflow.com/questions/14404596/converting-geo-coordinates-from-degree-to-decimal">Converting geo coordinates from degree to decimal</a></p>