Skip to content

Grouping problem

3 messages · venkata kirankumar, David Winsemius, Hadley Wickham

#
A vague answer is the best you should hope for with such a vague  
question with no sample data:

?table
?xtabs
?"=="

A search on "Frequency tables from factors" should get you to the  
intro to R section with that name.
#
You might want to have a look at the plyr package,
http://had.co.nz/plyr, which includes tools for performing this sort
of grouping.

Hadley

On Wed, Jan 28, 2009 at 9:47 AM, venkata kirankumar
<kiran4u2all at gmail.com> wrote: