title: Convert hours:minutes:seconds to minutes
body: <p>I have a vector &quot;Time.Training&quot; in the format hours:minutes:seconds (e.g.</p>
  <pre><code>Time.Training &lt;- c(&quot;1:00:00&quot;, &quot;0:45:00&quot;, &quot;0:30:00&quot;, &quot;1:30:00&quot;)
  </code></pre>
  <p>I would like to convert this into minutes in the format:</p>
  <pre><code>Time.Training.Minutes &lt;- c(60, 45, 30, 90)
  </code></pre>
  <p>I'm wondering if someone has a straightforward method of doing this in R.</p>
  <p>Many thanks.</p>
  <p>Matt</p>