Re: [R] how to calculate the mean of a group in a table

2011-05-10 Thread tornanddesperate
Just wanted to thank everybody here for their great help. I tried the "tapply" and it worked brilliantly. By changing its parameters I can easily compute the values for the other treatments as well. Without help, I probably would just have despaired. Have a great time mat -- View this message in

Re: [R] how to calculate the mean of a group in a table

2011-05-08 Thread John Kane
the way type is a reserved(? name in R. Not a problem here but it's safer not to use reserved words in R. --- On Sat, 5/7/11, tornanddesperate wrote: > From: tornanddesperate > Subject: [R] how to calculate the mean of a group in a table > To: r-help@r-project.org > Received

Re: [R] how to calculate the mean of a group in a table

2011-05-07 Thread David Winsemius
On May 7, 2011, at 2:24 PM, tornanddesperate wrote: Hi its me again I don't mean to get on your nerves, but the use of R proofs to be a bit more complicated than envisaged. I would like to calculate the mean of a group of values, here "wage_accepted". The group is determined by the stage a

[R] how to calculate the mean of a group in a table

2011-05-07 Thread tornanddesperate
Hi its me again I don't mean to get on your nerves, but the use of R proofs to be a bit more complicated than envisaged. I would like to calculate the mean of a group of values, here "wage_accepted". The group is determined by the stage and period, so in the end there should be a column with the

Re: [R] how to calculate the mean of a group in a table

2011-05-07 Thread Pete Brecknock
tornanddesperate wrote: > > Hi its me again > > I don't mean to get on your nerves, but the use of R proofs to be a bit > more complicated than envisaged. > > I would like to calculate the mean of a group of values, here > "wage_accepted". The group is determined by the stage and period, so in