h="672" style="display: block; margin: auto;"></p>
<p>If we wanted a convex hull we can use the <code>chull</code> function
on the first two columns</p>
<div class="sourceCode" id="cb13"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">chull_vals</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/grDevices/chull.html" class="external-link">chull</a></span><span class="op">(</span><span class="va">new_df</span><span class="op">[</span>, <span 