I am trying to create a centroid over a couple of observations by group_ID and my dataset looks like this:
Code:
latitude longitude group_ID -10.23 25.24 1 15.34 67.45 2 -67.45 32.34 2 12.45 -87.12 2 85.34 -34.53 1 77.77 -23.34 2 -56.78 56.78 1 -89.44 34.34 2 -23.45 67.89 1
Thanks!
Leave a comment: