index="-1"></a><span class="fu">as.integer</span>(<span class="fu">head</span>(bikes<span class="sc">$</span>temp)) <span class="do">## integer</span></span>
<span id="cb12-5"><a href="get-started.html#cb12-5" tabindex="-1"></a><span class="do">## [1] 2 2 8 7 9 6</span></span></code></pre></div>
<p>As shown in the last command, we can also convert data types. Be careful though, as R has internal rules how to <em>coerce</em> one data type into another. The same also happens if you specify a vector of multipl