![](../logo.png)
Remove empty layers in spatial object
remove_empty_layers.Rd
Removes any layers (terra::rast
object) or columns (sf
object) that are all zero or NA
Arguments
- dat
sf
orterra::rast
object
Value
sf
or terra::rast
depending on input
remove_empty_layers.Rd
Removes any layers (terra::rast
object) or columns (sf
object) that are all zero or NA
sf
or terra::rast
object
sf
or terra::rast
depending on input