I need to calculate the Global and Local Moran indices in R using a variable distance as threshold: I have a SpatialPointsDataFrame with almost 300 points and I want to calculate the Global Moran index using 4 different distances (e.g 5 km - 10 km - 50 km - 100 km).
I read this discussion https://www.researchgate.net/post/Which_package_in_R_could_be_used_to_perform_Morans_I_test_for_spatial_autocorrelation
and I know the 'ape' and 'spdep' packages but it seems that no adjustment can be done concerning the spatial width to be considered...
Thanks