D box counting for the planar projection of
the <code>mcap</code> mesh.</p>
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># project coral as xy coordinates</span></span>
<span><span class="va">mcap_2d</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/mesh_to_2d.html">mesh_to_2d</a></span><span class="op">(</span><span class="va">mcap</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># 