Re: [R] Pie charts using plotGooglemaps

2014-04-16 Thread DrunkenPhD
vice')) # display the pies library(plotrix) for(pp in 1:4) floating.pie(sampledf[pp,"x"],sampledf[pp,"y"], unlist(sampledf[pp,c("City","Village")]),radius=0.1) but p nothing What to do On Wednesday, April 16, 2

Re: [R] Pie charts using plotGooglemaps

2014-04-16 Thread DrunkenPhD
Lemon wrote: > > On 04/16/2014 04:43 AM, DrunkenPhD wrote: > > Sorry Jim not for my beginner level :((( > > > > So if my data are like this : > > > > xyCityVillage > > > > 19.943731440.7086377120425 > > > > 20.221417141.492433611

Re: [R] Pie charts using plotGooglemaps

2014-04-15 Thread DrunkenPhD
Sorry Jim not for my beginner level :((( So if my data are like this : x y City Village 19.9437314 40.7086377 120 425 20.2214171 41.4924336 1 1 20.0955891 39.9481364

Re: [R] Pie charts using plotGooglemaps

2014-04-12 Thread drunkenphd
Jim thx, Can you please provide me an example how to use my csv data with plotrix float.pie??? -- View this message in context: http://r.789695.n4.nabble.com/Pie-charts-using-plotGooglemaps-tp4688678p4688683.html Sent from the R help mailing list archive at Nabble.com.

[R] Pie charts using plotGooglemaps

2014-04-12 Thread drunkenphd
Hi, I am trying to add some pie charts in a list of coordinates. Please find attached data I am using Basically I am using this commands: data<-read.csv(file.choose(),header=T) coordinates(data) = ~ x + y proj4string(data) = CRS("+proj=longlat +datum=WGS84") # colPalette defines colors for plot

Re: [R] How to plot data using ggplot

2014-04-04 Thread drunkenphd
djmuseR wrote > Do you mean a continuous range expressible in a colorbar or a discrete > range, > and if the latter, what intervals did you have in mind? I mean diskrete values like : 54508 25 101 420 95 928 24 1656 108 18 213 70. The problem is that range is from 0-40

[R] How to plot data using ggplot

2014-04-04 Thread drunkenphd
Hi, I have a list of cities and their coordinates, and also for each city I have a variable varA which I want to represent in a map using ggplot. For example : CityA lat 22.93977 lon 46.70663varA 545 CityB lat 23.93977 lon 46.70663varA 122 VarA values begin from 0 to 3000. I wa