Quadrats in Spatstat
问题 I am now doing exploratory analysis and the objective is to plot a quadrat map, determine if there exists complete spatial randomness (visually and using chi-square test), etc. However, I am having trouble plotting a quadrat map. I previously asked this question that led me to reproject my data. Here is my code: library(rgdal) #Brings Spatial Data in R library(spatstat) # Spatial Statistics library(maptools) library(raster) # Load nyc zip code boundary polygon shapefile s <- readOGR("/Users