It would be nice if you could supply an example of what your input looks like and then what you would like your output to look like. You would probably use 'tapply', but I would have to see what you data looks like.
On 7/9/07, Mag. Ferri Leberl <[EMAIL PROTECTED]> wrote: > Dear everybody! > If I have an array of numbers e.g. the points my students got at an > examination, and a key to group the numbers, e.g. the key which > interval corresponds with which mark (two arrays of the same length or > one 2x(number of marks)), how can I get the array of absolute > frequencies of marks? > I hope I have expressed my problem clearly. > Thank you in advance. > Mag. Ferri Leberl > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.