[R] split file equivalent in R

Tobias Verbeke tobias.verbeke at openanalytics.eu
Mon Jul 19 12:04:46 CEST 2010


Hi,

On 07/19/2010 11:56 AM, Iasonas Lamprianou wrote:

> (a)in SPSS PASW there is a 'split file' command is repeats the same analysis for all sub-groups. Is there a split file equivalent in R?

There is a by command in base R, but for this type of problems
Hadley Wickham has written a nice package 'plyr' available on
CRAN. See also the package home page:

http://had.co.nz/plyr/

HTH,
Tobias



More information about the R-help mailing list