rc="example5_files/figure-html/voronoi2-1.png" width="1093.75"></p>
</div>
<div class="section level3">
<h3 id="spdeppoly2nb-and-localmoran">
<code>spdep::poly2nb()</code> and <code>localmoran()</code><a class="anchor" aria-label="anchor" href="#spdeppoly2nb-and-localmoran"></a>
</h3>
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</sp