n></span>
<span><span class="co"># S3 method for data.frame</span></span>
<span><span class="fu">subhourly2hourly</span><span class="op">(</span><span class="va">x</span>, <span class="va">FUN</span>, na.rm<span class="op">=</span><span class="cn">TRUE</span>, na.rm.max<span class="op">=</span><span class="fl">0</span>,</span>
<span>           dates<span class="op">=</span><span class="fl">1</span>, date.fmt<span class="op">=</span><span class="st">"%Y-%m-%d %H:%M:%S"</span>, out.fmt<span class="op">=</span