Re: [R] Create subsets of data

2011-05-10 Thread Pavan G
Thanks David and Steve. This is exactly what I was looking for. tapply seems to be one robust command. (Humor of any potency is always a welcome thing in academia :) WSS [[alternative HTML version deleted]] __ R-help@r-project.org mailing list h

Re: [R] Create subsets of data

2011-05-09 Thread David Winsemius
On May 9, 2011, at 3:46 PM, David Winsemius wrote: On May 9, 2011, at 9:40 AM, Pavan G wrote: Hello All, Let's say I have points on a x-y plane. x ranges from 0-2 and y from 0-2. There are points in quadrants x[0:1]---y[0:1] and in x[1:2] y[1:2]. I would like to get the mean and std o

Re: [R] Create subsets of data

2011-05-09 Thread David Winsemius
On May 9, 2011, at 9:40 AM, Pavan G wrote: Hello All, Let's say I have points on a x-y plane. x ranges from 0-2 and y from 0-2. There are points in quadrants x[0:1]---y[0:1] and in x[1:2] y[1:2]. I would like to get the mean and std of the points in the x[0:1] y[0:1] quadrant alone

Re: [R] Create subsets of data

2011-05-09 Thread Steve Lianoglou
Hi, On Mon, May 9, 2011 at 9:40 AM, Pavan G wrote: > Hello All, > Let's say I have points on a x-y plane. x ranges from 0-2 and y from 0-2. > There are points in quadrants x[0:1]---y[0:1] and in x[1:2]y[1:2]. I > would like to get the mean and std of the points in the x[0:1]y[0:1] > quadr