I would like to plot a simple xy graphic being y=variable and x=geographic distance.
I have data.frame with my data of interest in separate columns (ex: Species$Latitude, Species&Longitude, Species$Variable). All coordinates are in decimal degrees and all variable values are numeric.
Something like the attached image.
Can someone help me? I think it it's easy, but I'm having a hard time figuring it out (so not so easy actually).
When you have a point of origin, you can use the haversine formule to calculate the distance: Haversine function in R
Update, added sample code: