'op'>(</span><span class='st'>"occ_p"</span>, package <span class='op'>=</span> <span class='st'>"rangemap"</span><span class='op'>)</span>

<span class='co'># preparing spatial points</span>
<span class='va'>occ</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/pkg/raster/man/as.data.frame.html'>as.data.frame</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/pkg/raster/man/unique.html'>unique</a></span><span class='op'>(</span><span class='va'>occ_p</