Dear sirs/madams,
May someone please help me with this issue: I have been trying to plot pie
charts on a map, without much success (see code enclosed herein). This is
quite distressing to me, as I had plot the same kind of map before without
problems. It would be appreciated if anyone would
Thank you so much for answering! I have checked the two points that you
have mentioned. I actually had library(rworldxtra) in my original, longer
code, so I have copied it to this shorter one. However, R still refuses to
plot anything on the map.
About point 2, I am focusing on the Catalan coast
I now see the issue: you have lat and long reversed in pie.chart.txt. That
puts you in Somolia and Kenya (which is why I suggested mapRegion=Somalia
earlier).
Jim
From: Jue Lin-Ye [mailto:jl.i...@gmail.com]
Sent: Sunday, April 12, 2015 9:30 AM
To: Baldwin, Jim -FS
Cc: r-sig-geo@r-project.org
I think there are two issues:
1. You need the rworldxtra package to get the countriesHigh dataset so adding in
library(rworldxtra) is necessary.
2. I think you need to focus the figure to a smaller area and add in a
statement
like mapRegion=Somalia in the mapPies function.
Jim
From: