class="sourceCode r"><code class="sourceCode r"><span id="cb282-1"><a href="activity-5-point-pattern-analysis-ii.html#cb282-1" tabindex="-1"></a>W <span class="ot">&lt;-</span> <span class="fu">owin</span>(<span class="at">xrange =</span> <span class="fu">c</span>(<span class="dv">515000</span>, <span class="dv">523500</span>), <span class="at">yrange =</span> <span class="fu">c</span>(<span class="dv">6812000</span>, <span class="dv">6822000</span>))</span></code></pre></div>
<p>Next, we can convert the da