Dear All,
I have a dataframe as below:
*name surnameyear sexcity1 city2 city3 *
*AAAAA 2011male 1020 30*
*BBBBB 2011female 2515 25*
*CC CCC2012male 16 54 32*
Hi group,
I printed
hdf - get_map(location = c(19.817955, 41.33071), zoom = 14, maptype =
'roadmap')
ggmap(hdf, extent = 'normal', maprange = TRUE) +
+ geom_point(aes(colour = class), data = chkpts) +
+ theme_nothing() + theme(legend.position = 'right')
where data = chkpts is like
Hi group.
I have coordinates as in file attached.
Trying to print this as points with different colors I follow the commands:
al1 = get_map(location = c(41.325997,19.822027), zoom = 10, maptype =
'roadmap') ggmap(al1) + geom_point(data=points, aes(x=lat, y=lon5,colour =
type))
The problem
Hi group,
I am stacked in a problem like this.
I have a bus stop with known coordinates.
I generate in R language distances from this bus stop. Values of these
distances are like below
(in km)
0. 0.02725136 1.07634471 1.15963225 1.71421571 2.54945626
4.29135102 4.53532958
Hi group,
I am stacked in a problem like this.
I have a bus stop with known coordinates.
I generate in R language distances from this bus stop. Values of these
distances are like below
(in km)
0. 0.02725136 1.07634471 1.15963225 1.71421571 2.54945626
4.29135102 4.53532958
*destPointRhumb*but still I need some loop function which can print
coordinates of points
by reading the vector of distances generated in R by some function *dist*.
Thanks in advance
On Thu, Apr 18, 2013 at 7:51 PM, Endri Raco endr...@gmail.com wrote:
Hi Roman,
This distances reflect the distance of points
, simCoords, origin=c(0,0))
for (p in 1:length(exampleCoords)) {
points(exampleCoords[p][[1]][1],exampleCoords[p][[1]][2], cex=0.4)
}
}
Hope this helps,
Ashton
On 04/18/13, Endri Raco, wrote:
Hi group,
I am stacked in a problem like this.
I have a bus stop with known
Hi group,
I am stucked in a problem like this.
I have distances from a bus station in km generated in R language like
0. 0.02725136 1.07634471 1.15963225 1.71421571 2.54945626
4.29135102 4.53532958 4.58512710 4.86466833 5.24266630 5.63505465
I need to convert this distances in
...@gmail.com wrote:
You should look at this site :
http://spatialanalysis.co.uk
Jean-Daniel
Envoyé depuis un mobile Android
Message d'origine
De : Endri Raco endr...@gmail.com
Date :
à : Roman Luštrik roman.lust...@gmail.com,r-sig-geo@r-project.org
Objet : Re: [R-sig
Hi group,
Trying to plot with ggplot2 different datasets of coordinats inside the
same chart.
Till now I can plot
ggmap(al1) + geom_point(data=points,colour=red, size = 4)
where points are tables
lonlat
41.00 19.02
but I need to add other sets of points(tables of coordinates)
lon
to your differents dataset to discriminate them
2°) join then your datasets in one dataframe (rbind)
3°) then in ggmap use fill=type, so as: ggmap(al1) +
geom_point(data=points, aes(size = 4, fill=type))
Hope it works,
Kevin
- Mail original -
De: Endri Raco endr...@gmail.com
À: r-sig
Thank you Roman,
Using
al1 = get_map(location = c(lon, lat),
zoom = 6, maptype = 'roadmap')
ggmap(al1) + geom_point(data = points,colour=red)+geom_point(data =
points2,colour=green)
I printed map and points but still thinking about some code to make the
points move from one
12 matches
Mail list logo