Erase features y from x. Adapted from https://github.com/r-spatial/sf/issues/346.

st_erase(x, y)

Arguments

x, y

sf polygon objects

Value

sf polygon object