[R] Pie charts using plotGooglemaps

drunkenphd enrraco at fimif.upt.al
Sun Apr 13 01:20:30 CEST 2014


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 mychart<-segmentGoogleMaps(data,
zcol=c('City','Village'),mapTypeId='ROADMAP',
filename='myMap4.htm',colPalette=c('#E41A1C','#377EB8'),
strokeColor='black') 

But a map with legends shows up without any points or pie chart
Attached my csv https://www.dropbox.com/s/pkvq6xz0ynwok9r/sample.csv
Regards






--
View this message in context: http://r.789695.n4.nabble.com/Pie-charts-using-plotGooglemaps-tp4688678.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list