Sunday, 5 November 2006

R moves in mysterious ways

Oddly enough, the graphics package code that I was using to add error bars to my dotcharts has mysteriously stopped working since upgrading to R 2.4.0. I can still make the dotcharts using dotchart, but the error bars don’t show up after adding them using segments. This clearly worked last month, or otherwise I wouldn’t have had a presentation to show at Mizzou.

Luckily enough I found another solution using dotplot in lattice instead in an article by Bill Jacoby in the most recent edition of The Political Methodologist… which I probably should have read before hacking together the code the first time around. So now it works… at least until R 2.5.0 comes out, at which point all bets are off.