I am playing with RGooglemaps, and have been able to plot lines on a map. I loaded my lats and longs from a csv into a coords object.
I wanted to imply direction using: PlotArrowsOnStaticMap
defined as:
PlotArrowsOnStaticMap(MyMap, lat0, lon0, lat1 = lat0, lon1 = lon0, TrueProj = TRUE, FUN = arrows, add = FALSE, verbose = 1,...)
I define lat0 as something like coords[,'lat']. How do I give the lat1?
The value is the next row in the file - but how do I describle that relatively? (coords[+1,'lat'] in pseudocode.
Is there some basic reading I should be doing?