one of the</span>
        <span class="co"># polygons.</span>
        <span class="va">hover_within_flow</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html">sapply</a></span><span class="op">(</span>
          <span class="va">polygon_coords</span>,
          <span class="kw">function</span><span class="op">(</span><span class="va">pol</span><span class="op">)</span> <span class="fu"><a href="https://rdrr.io/pkg/sp/man/point.in.polygon.html">point.in.polygon</a