Message-ID: <CANLCanXK2n5VOFhWsgere6UGRiSBO6fg3mxg9E+sduyQmV1vAw@mail.gmail.com>
Date: 2015-10-28T08:03:26Z
From: Mahnaz Rabbaniha
Subject: gis2
In-Reply-To: <CANLCanW-1SO1gjdNenOXn4MR7KCZw4PRPo7YG_kTz-H1V+q8nQ@mail.gmail.com>
---------- Forwarded message ----------
From: Mahnaz Rabbaniha <rab.mahnaz at gmail.com>
Date: Wed, Oct 28, 2015 at 11:31 AM
Subject: gis2
To: r-sig-ecology <r-sig-ecology at r-project.org>
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*
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*