Remove empty geometries and/or records that are NA from a SpatVector.
Usage
# S4 method for SpatVector
na.omit(object, field=NA, geom=FALSE)
Arguments
object
SpatVector
field
character or NA. If NA, missing values in the attributes are ignored. Other values are either one or more field (variable) names, or "" to consider all fields