er">raster_layer<a class="anchor" aria-label="anchor" href="#arg-raster-layer"></a></dt>
<dd><p><code><a href="https://rspatial.github.io/terra/reference/rast.html" class="external-link">terra::rast()</a></code> Raster object.</p></dd>


<dt id="arg-unit">unit<a class="anchor" aria-label="anchor" href="#arg-unit"></a></dt>
<dd><p><code>unit</code> object or a <code>character</code> that can be coerced to a unit
(see <code>unit</code> package). Must be an area unit.</p></dd>

</dl></div>
    <div class="sect