ggmap
ggmap copied to clipboard
Vector of coordinates in mapdist() function
Hi, According to the documentation I can use vectors (of addresses) in the mapdist() function (page 41 of version 3.0.0) and also I can include geographic coordinates (page 42). But I haven´t found a way to include vectors of coordinates in the mapdist() function, since the onlye example I have found only considers a pair of coordinates (numeric of length = 2). Is there a way to pass many coordinates as origins and many coordinates as destination at the same time or I have to loop over the mapdist() function? Thanks a lot.