I am using R 3.3.0, pachage 'spgwr'
I created a spatial points data frame as shown:
points_map <- SpatialPointsDataFrame(data=points_df,coords=cbind(points_df$x,points_df$y))
The original data frame (points_df) has latlong coordinates in decimal degrees.
I did not define any projection information and now the projargs argument for points_map is NA. I used this Spatial Points Data Frame into a GWR bandwidth calculation:
bw = gwr.sel(v1 ~ v2+v3+v4, data=points_map,adapt=F,verbose=TRUE)
It has been running for days and the results so far show two bandwidth estimations:
Bandwidth: 15.97609 CV score: 678473.9
Bandwidth: 25.82404 CV score: 684589.3
Because I did not input long-lat coordinates directly, but the Spatial Points Data Frame coordinates with no projection, my question is in which units is the bandwidth?
The function information says that if you use longlat=TRUE, the units are Km, but if you have a SpatialPoints object, longlat=FALSE and the value is taken from the object itself. I would really appreciate your help. Thank you