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
wrote:
> Hi all,
> I have a problem with grouping like I have to give count of employes in each
> depart
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.
--
David Winsemius
On Jan 28, 2009, at 10:47 AM, venkata kirankumar wrote
Hi all,
I have a problem with grouping like I have to give count of employes in each
department like
if in one company there is departments like
Mechanical, Computer, Fitting, electronics and Chemical
hear I have to retreave the number of employes in each department and as
well as
I have to retre
3 matches
Mail list logo