Hey R'rs, So im sick of dealing with ESRI products and am looking to stream line a process i now use GIS to do using R. I have made a lot of maps using R but have not yet seen a map that puts pie charts within the map to help represent data like the attachment. http://r.789695.n4.nabble.com/file/n2318816/template1.bmp I found Tanimura et al. work "Proportional Symbol Mapping in R", but after a discussion with one of the authors i have learned that the function is out of date and would require a great deal of reworking. I also found hexbinpie on the R graphics gallery that i could incorporate. Before i go through the process of rewriting or out right creation of a process to replicate my GIS results i was hoping to make sure there wasnt something out there i could use to start or use altogether. Or perhaps a set of functions that already exists that i havent thought to use. Thanks for the insights everyone. JR -- View this message in context: http://r.789695.n4.nabble.com/Pie-Chart-in-map-tp2318816p2318816.html Sent from the R help mailing list archive at Nabble.com.
Check out the gallery of R chart; here is one to look at: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=143 On Mon, Aug 9, 2010 at 1:04 PM, LCOG1 <jroll at lcog.org> wrote:> > Hey R'rs, > ? ?So im sick of dealing with ESRI products and am looking to stream line a > process i now use GIS to do using R. ?I have made a lot of maps using R but > have not yet seen a map that puts pie charts within the map to help > represent data like the attachment. > http://r.789695.n4.nabble.com/file/n2318816/template1.bmp > > I found Tanimura et al. work "Proportional Symbol Mapping in R", but after a > discussion with one of the authors i have learned that the function is out > of date and would require a great deal of reworking. ?I also found hexbinpie > on the R graphics gallery that i could incorporate. > > Before i go through the process of rewriting or out right creation of a > process to replicate my GIS results i was hoping to make sure there wasnt > something out there i could use to start or use altogether. ?Or perhaps a > set of functions that already exists that i havent thought to use. > > Thanks for the insights everyone. > > JR > -- > View this message in context: http://r.789695.n4.nabble.com/Pie-Chart-in-map-tp2318816p2318816.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Look at the my.symbols and subplot functions in the TeachingDemos package, one of those may work for you. Note however that the author of those functions is one of the advocates against the use of pie charts and if there were a free (as in speech) license that would allow for excluding any use of the functions in conjunction with pie charts, that would be the license used. So, you may want to also consider using better alternatives to the pie chart. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of LCOG1 > Sent: Monday, August 09, 2010 11:05 AM > To: r-help at r-project.org > Subject: [R] Pie Chart in map > > > Hey R'rs, > So im sick of dealing with ESRI products and am looking to stream > line a > process i now use GIS to do using R. I have made a lot of maps using R > but > have not yet seen a map that puts pie charts within the map to help > represent data like the attachment. > http://r.789695.n4.nabble.com/file/n2318816/template1.bmp > > I found Tanimura et al. work "Proportional Symbol Mapping in R", but > after a > discussion with one of the authors i have learned that the function is > out > of date and would require a great deal of reworking. I also found > hexbinpie > on the R graphics gallery that i could incorporate. > > Before i go through the process of rewriting or out right creation of a > process to replicate my GIS results i was hoping to make sure there > wasnt > something out there i could use to start or use altogether. Or perhaps > a > set of functions that already exists that i havent thought to use. > > Thanks for the insights everyone. > > JR > -- > View this message in context: http://r.789695.n4.nabble.com/Pie-Chart- > in-map-tp2318816p2318816.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
On 08/10/2010 03:04 AM, LCOG1 wrote:> > Hey R'rs, > So im sick of dealing with ESRI products and am looking to stream line a > process i now use GIS to do using R. I have made a lot of maps using R but > have not yet seen a map that puts pie charts within the map to help > represent data like the attachment. > http://r.789695.n4.nabble.com/file/n2318816/template1.bmp > > I found Tanimura et al. work "Proportional Symbol Mapping in R", but after a > discussion with one of the authors i have learned that the function is out > of date and would require a great deal of reworking. I also found hexbinpie > on the R graphics gallery that i could incorporate. > > Before i go through the process of rewriting or out right creation of a > process to replicate my GIS results i was hoping to make sure there wasnt > something out there i could use to start or use altogether. Or perhaps a > set of functions that already exists that i havent thought to use.Hi JR, You can also check out the floating.pie function in the plotrix package. Jim
The package mapplots lets you plot pie charts on a map and vary their size. http://r.789695.n4.nabble.com/file/n4635089/pie.png -- View this message in context: http://r.789695.n4.nabble.com/Pie-Chart-in-map-tp2318816p4635089.html Sent from the R help mailing list archive at Nabble.com.