October 11, 2013

Split, Apply, Combine: Using plyr (Introduction to Statistical Computing)

Lecture 13, 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 13: The lecturer is a gushing Hadley Wickham fanboy.

(This week's lectures are ripped off from slides by Vince Vu, with permission.)

Introduction to Statistical Computing

Posted at October 11, 2013 17:47 | permanent link

Three-Toed Sloth