807  0.0082  0.1897</span></span></code></pre>
<p>Using spatial indices to check intersection of polygons is much
faster than the legacy method in poly2nb. From <strong>spdep</strong>
1.1-7, use is made of GEOS through <strong>sf</strong> to find candidate
neighbours when <code>foundInBox=NULL</code>, the default value. Because
contiguity is symmetric by definition, <code>foundInBox=</code> only
requires intersections for higher indices, leading to a slight overhead
to remove duplicates, as <code><a href="h