t Analysis</h2>
<p>Searchlight is a powerful technique for local pattern analysis:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1" tabindex="-1"></a><span class="co"># Create searchlights with 6mm radius</span></span>
<span id="cb5-2"><a href="#cb5-2" tabindex="-1"></a>lights <span class="ot">&lt;-</span> <span class="fu">searchlight</span>(img, <span class="at">radius =</span> <span class="dv">6</span>, <span class="at">eager =</sp