« Profile of R creator Ross Ihaka | Main | R's short learning curve »

May 20, 2009

Comments

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

Hello,

Thank you for this.

Another solution is to use reshape package:

library(reshape)
cast(mtcars, cyl ~ ., quantile, value = "mpg")

Or the plyr package.

By the way, I've had some bad experiences with do.call(rbind, ...) when there is a huge number of lists.

the URL has died, along with the server i had the post on. it lives again here:

http://dandube.com/blog/?p=145

if you care to see it.

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
‚Äč