I would like to plot a set of coordinates organized in studies/groups on a world map, specified in a legend. The dataset is organized as follows: AUTHORS | LAT | LONG The are multiple coordinates corresponding to one study that do not differ. Is it possible to plot numbers instead of symbols and link them to a legend?
library(maps)
library(mapdata)
test<-data.frame(Authors=(letters[1:9]), LAT=(seq(10,90,by=10)), LONG=(seq(10,90,by=10)))
map('worldHires')
points(test$LONG,test$LAT, col="red")
I have no clue how to extract the info from the authors vector and link it to the lat/long data as part of a legend. Does it even work with points
?