Spatial clustering of the coordinates
Examples
morie_spatial_cluster(morie_spatial(expand.grid(lon = 1:6, lat = 1:6)), k = 3)
#> Warning: input has no row names; using positional labels
#> [1] 2 2 2 2 1 1 2 2 2 2 1 1 2 2 2 1 1 1 3 3 3 1 1 1 3 3 3 3 1 1 3 3 3 3 1 1
