I'm trying to use getis ord on the new york taxi dataset to identify the hotspots based on the number of pickups.
I want to model the data into cells such that that score of each cell is calculated based on its queen neighborhood.
I found a package called spdep in R that has a func to calculate getis ord but I'm still not able to use it to solve my problem as I'm still new to R.
I would appreicate if you can give me some hints about creating the neighborhood or a guiding example.