Hi, I am trying to do some join count statistical analysis on my data (a grid of 5000 cells with values 1 or 0) in order to determine whether there is spatial clustering of pixels. Is there a built-in function available in any of the spatial stats packages of R (I cannot seem to locate it, if it is present)? Geetha