How to group aggregate data based of latitude and longitude I have 2 dataframes in R that both have this type of structure: