even for people who didn't like the outcome of the US elections this year, it must have been a joy to see all the nice (and not so nice) graphs that were shown. As an exercise, I recreated the map shown on the NY-Times website [ http://www.nytimes.com/packages/khtml/2004/11/03/politics/ 20041103_px_ELECT_GRAPHIC.html ] If you're interested, http://www.ai.rug.nl/~hedderik/R/US2004 contains the created maps, the data and the code. Note that there are some differences in the R map and the NYT map (most notably with respect to some missing data in some New England states, some mismatches in county names, and the representation of NYC), but I was quite satisfied with the map as it stands now. - Hedderik.
Nice! But what happen to Alaska & Hawaii? 8-) Andy> From: Hedderik van Rijn > > even for people who didn't like the outcome of the US elections this > year, it must have been a joy to see all the nice (and not so nice) > graphs that were shown. As an exercise, I recreated the map shown on > the NY-Times website [ > http://www.nytimes.com/packages/khtml/2004/11/03/politics/ > 20041103_px_ELECT_GRAPHIC.html ] > > If you're interested, >http://www.ai.rug.nl/~hedderik/R/US2004 contains the created maps, the data and the code. Note that there are some differences in the R map and the NYT map (most notably with respect to some missing data in some New England states, some mismatches in county names, and the representation of NYC), but I was quite satisfied with the map as it stands now. - Hedderik. ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
So, ahem, it would be pretty easy to swap the colors round and claim a Kerry victory? ;) -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Hedderik van Rijn Sent: 09 December 2004 14:36 To: r-help at stat.math.ethz.ch Subject: [R] US 2004 Elections map even for people who didn't like the outcome of the US elections this year, it must have been a joy to see all the nice (and not so nice) graphs that were shown. As an exercise, I recreated the map shown on the NY-Times website [ http://www.nytimes.com/packages/khtml/2004/11/03/politics/ 20041103_px_ELECT_GRAPHIC.html ] If you're interested, http://www.ai.rug.nl/~hedderik/R/US2004 contains the created maps, the data and the code. Note that there are some differences in the R map and the NYT map (most notably with respect to some missing data in some New England states, some mismatches in county names, and the representation of NYC), but I was quite satisfied with the map as it stands now. - Hedderik. ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Thu, 9 Dec 2004, Hedderik van Rijn wrote:> > even for people who didn't like the outcome of the US elections this > year, it must have been a joy to see all the nice (and not so nice) > graphs that were shown. As an exercise, I recreated the map shown on > the NY-Times website [ > http://www.nytimes.com/packages/khtml/2004/11/03/politics/ > 20041103_px_ELECT_GRAPHIC.html ] > > If you're interested, > > http://www.ai.rug.nl/~hedderik/R/US2004 > > contains the created maps, the data and the code. Note that there are > some differences in the R map and the NYT map (most notably with > respect to some missing data in some New England states, some > mismatches in county names, and the representation of NYC), but I was > quite satisfied with the map as it stands now. > > - Hedderik.Hi Hedderik, I really like that -- Is there a place where R collects a portfolio of graphics and the code to build them? I think these sorts of things could help demonstrate and disseminate the graphics abilities of R. Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/