Performs set operations on neighbors list objects union, intersection, (asymmetric!) difference and complement; note that from 1.3-9, setdiff.nb behaves like setdiff, where the ordering of the objects being compared matters - (asymmetric!) difference.
nb.obj: a neighbor list created from any of the neighborhood list funtions
nb.obj1: a neighbor list created from any of the neighborhood list funtions
nb.obj2: a neighbor list created from any of the neighborhood list funtions
Details
These functions perform set operations on each element of a neighborlist. The arguments must be neighbor lists created from the same spatial objects, checked by the region.id attributes being required to be identical.
Returns
A new neighborlist created from the set operations on the input neighbor list(s)