Good riddance to Excel pivot tables

Scott Chamberlain




Excel pivot tables have been how I have reorganized data...up until now. These are just a couple of examples why R is superior to Excel for reorganizing data:

UPDATE: I fixed the code to use 'dcast' instead of 'cast'. And library(ggplot2) instead of library(plyr) [plyr is called along with ggplot2]. Thanks Bob!

Also, see another post on this topic here.

Figure

Posted in  plyr reshape2 R


blog comments powered by Disqus
Fork me on GitHub