« In case you missed it: January roundup | Main | Mapping the Massachusetts election upset with R, ctd »

February 03, 2010


Feed You can follow this conversation by subscribing to the comment feed for this post.

I like a lot of the points made here, but:

* why not mention par(las=1) for horizontal axis labels (which should be the default for readability, except that it usually requires adjustment of margin size (mar) and y-label placement (mgp or axis(...,lines=))? par(bty="l") is nice too, and adjusting the number of ticks on the axes ...

* the "R learning curve" plot is very un-Tufte-ish -- as long as we're going in that direction, why not at least use a gray grid? And why not use the built-in grid() function? And perhaps work it out so the grid is *underneath* the line? (In general this presentation shades toward "because you can" rather than "because it makes the graphic represent the data more clearly" ...)

* why not use polygon() to shade the area under the curve in the integral example?

I would like to know how to plot a confidence interval using smoothScatter function as in this figure4 (http://www.plosgenetics.org/article/info:doi%2F10.1371%2Fjournal.pgen.1000562).

The comments to this entry are closed.

Search Revolutions Blog

Got comments or suggestions for the blog editor?
Email David Smith.
Follow revodavid on Twitter Follow David on Twitter: @revodavid
Get this blog via email with Blogtrottr