[R-sig-eco] gis2

Mahnaz Rabbaniha rab.mahnaz at gmail.com
Wed Oct 28 09:01:17 CET 2015


Dear all

which code is used for adding the characters of point for example abundance
 ( in attach file i send the excel )
 I have done this code:

library(ggmap)

map=get_map(location=c(lon=50,lat=29), zoom=8,scale = "auto",
maptype=c("satellite"),language = "EN")

lon=c(50.0214,50.5728,50.1117,50.1117,50.1117,50.0920,50.4615,50.1117,50.2117,50.1920,50.3615,50.4615)

lat=c(29.584262,29.1840,29.0206,29.2440,29.5100,29.2858,29.2843,29.4100,29.3858,28.8843,28.9843,28.993)

geot=data.frame(lon,lat)

ggmap(map,extent="panel")+geom_point(aes(x=lon,y=lat,colour="red"),data=geot,cex=3)


all the best
mahnaz
-- 
*Mahnaz Rabbaniha*
*Marine Ecologist, PhD*
*Executive manager of IJFS*




*Iranian Fisheries Research Organization (IFRO) P.O.Box: 14155-6116Tehran,
IRAN Phone:   +98 21 44580953Fax:      +98 21 44580583*

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list