Lecture 12, Split/apply/combine II: using plyr. Abstracting the split/apply/combine pattern: using a single function to appropriately split up the input, apply the function, and combine the results, depending on the type of input and output data. Syntax details. Examples: standardizing measurements for regularly-sampled spatial data; standardizing measurements for irregularly-sampled spatial data; more fun with strikes and left-wing politics. Limitations of the split/apply/combine pattern.
Shorter lecture 12: The lecturer is a gushing Hadley Wickham fanboy.
(This week's lectures are ripped off from slides by Vince Vu, with permission.)
Posted at October 10, 2012 10:30 | permanent link