[R-sig-Geo] Fwd: Pie charts on a map. v2

Jue Lin-Ye jl.iccp at gmail.com
Sun Apr 12 17:40:25 CEST 2015


​
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 point out the flaw. I
enclose a reproducible set of data and codes for you to work with. I have
tested the code, you just have to paste the three of the files in the same
folder.

Thank you very much in advance.
​

-- 
Jue Lin-Ye

---------------------------------------------------------------
Civil Engineering phD candidate
Maritime Engineering Laboratory (LIM)
Universitat Politècnica de Catalunya (UPC)
C/Jordi Girona 1-3, Barcelona 08034 (Spain)
-----------------------------------------------------------------

​
​
​ P.S.: My e-mails asking for questions are sometimes quite short and can
seem rude, I am sorry for that. The truth is that I hearfully appreciate
any help of yours. ​
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150412/9a177eb1/attachment.html>
-------------- next part --------------
"node" "long" "lat" "prob1" "prob2" "prob3" "prob4" "prob5"
"1" 1 40.613 0.75 863 792 67 0 0
"2" 2 40.793 0.75 871 851 0 0 0
"3" 3 40.973 1 863 357 537 0 0
"4" 4 40.973 1 874 351 536 0 0
"5" 5 40.973 1 862 377 522 0 0
"6" 6 41.153 1.75 765 322 191 441 0
"7" 7 41.153 2 531 328 242 156 508
"8" 8 41.333 2.25 647 324 164 123 457
"9" 9 41.333 2.25 632 345 143 115 413
"10" 10 41.333 2.25 640 315 165 102 433
"11" 11 41.333 2.25 678 314 173 102 426
"12" 12 41.333 2.25 628 311 147 112 445
"13" 13 41.513 2.5 782 357 208 417 206
"14" 14 41.513 2.5 669 340 181 348 190
"15" 15 41.513 2.5 692 320 185 371 166
"16" 16 41.513 2.5 670 335 163 369 195
"17" 17 41.513 2.75 528 322 190 145 533
"18" 18 41.693 3 550 309 183 118 459
"19" 19 41.693 3 587 322 187 113 467
"20" 20 42.052 3.25 591 283 147 80 418
"21" 21 42.232 3.25 395 156 66 43 216
"22" 22 42.232 3.25 350 118 62 30 219
"23" 23 42.412 3.25 256 94 45 19 173
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Piecharts.R
Type: text/x-r-source
Size: 537 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150412/9a177eb1/attachment.bin>
-------------- next part --------------
5 36.6 68.2 99.8 131.4 163


More information about the R-sig-Geo mailing list