jerid.francom + plyr   5

The advantages of using count() to get N-way frequency tables as data frames in R
Introduction I recently introduced how to use the count() function in the “plyr” package in R to produce 1-way frequency tables in R.  Several
r  linguistics  380  tools  data  tables  xtabs  plyr 
april 2016 by jerid.francom
plyr
plyr is a set of tools for a common set of problems: you need to split up a big data structure into homogeneous pieces, apply a function to each piece and then combine all the results back together. For example, you might want to:

fit the same model to subsets of a data frame
quickly calculate summary statistics for each group
perform group-wise transformations like scaling or standardising
r  plyr  package  data  transformation  statistics 
january 2012 by jerid.francom

Copy this bookmark:



description:


tags: