</span>(<span class='fl'>0</span>:<span class='fl'>1</span>, <span class='kw'>dim</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>4</span>,<span class='fl'>4</span>,<span class='fl'>4</span>)))
<span class='no'>matrix</span> <span class='kw'>&lt;-</span> <span class='fu'>ts2matrix</span>(<span class='no'>image</span>, <span class='no'>mask</span>)</div></pre>
  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
    <h2>Con