io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">.1</span>, <span class="fl">.4</span>, <span class="fl">.8</span><span class="op">)</span>, nrow<span class="op">=</span><span class="va">I</span>, ncol<span class="op">=</span><span class="va">R</span>, byrow<span class="op">=</span><span class="cn">TRUE</span> <span class="op">)</span></span>
<span><span class="co"># simulate HRM data</span></span>
<span><span class="va">data</span> <span class="op">&lt;-</span> 