Re: [R] How to get the n (number of observations) per conditional group

2009-08-13 Thread Dax
I found a work-around by just simply getting the sum of the conditional values and dividing this by the mean. It's not elegant but it works On Aug 13, 3:11 pm, Dax wrote: > Hello all, > > I have a huge data set that I'm cleaning up a bit. I am extracted the > means per co

[R] How to get the n (number of observations) per conditional group

2009-08-13 Thread Dax
Hello all, I have a huge data set that I'm cleaning up a bit. I am extracted the means per condition, but also need to get the n. Strangely enough I am unable to find a function that could actually pull this off. I am unable to use replications or count the rows using nrow. What I am trying to ob