ast by calling <code><a href="https://rdrr.io/r/base/rev.html">rev()</a></code> on the logical vector returned by <code><a href="https://rdrr.io/pkg/sp/man/point.in.polygon.html">point.in.polygon()</a></code>. This means that the tooltip will display information from the alluvium that appears “on top” in the plot. In this example, we will display the names of all the nodes that the alluvium passes through.</p>
<div class="sourceCode" id="cb14"><pre class="downlit sourceCode r">
<code class="sourceCode R