Report the patch coordinates of all the unique patches contained in the inputs.

patchSet(...)

# S4 method for matrix
patchSet(...)

## Arguments

... Matrices (ncol = 2) of patches coordinates with the first column pxcor and the second column pycor.

## Value

Matrix (ncol = 2) with the first column pxcor and the second column pycor representing the patches coordinates.

## Details

Duplicate patches among the inputs are removed in the returned matrix.

## References

Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.

w1 <- createWorld(minPxcor = 0, maxPxcor = 9, minPycor = 0, maxPycor = 9)
p4 <- patchSet(p1, p2, p3)