Re: [R] Compute rank within factor groups

2007-07-16 Thread Greg Snow
Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: Ken Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 3:50 PM To: Greg Snow; R-help@stat.math.ethz.ch Subject: Re: [R] Compute rank within factor groups On 7/12/07 4:28 PM, Greg Snow

[R] Compute rank within factor groups

2007-07-12 Thread Ken Williams
Hi, I have a data.frame which is ordered by score, and has a factor column: Browse[1] wc[c(report,score)] report score 9 ADEA 0.96 8 ADEA 0.90 11 Asylum_FED9 0.86 3 ADEA 0.75 14 Asylum_FED9 0.60 5 ADEA 0.56 13 Asylum_FED9 0.51 16

Re: [R] Compute rank within factor groups

2007-07-12 Thread Greg Snow
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Williams Sent: Thursday, July 12, 2007 12:09 PM To: R-help@stat.math.ethz.ch Subject: [R] Compute rank within factor groups Hi, I have a data.frame which is ordered by score, and has a factor column: Browse

Re: [R] Compute rank within factor groups

2007-07-12 Thread jim holtman
Is this what you are looking for: x report score 9 ADEA 0.96 8 ADEA 0.90 11 Asylum_FED9 0.86 3 ADEA 0.75 14 Asylum_FED9 0.60 5 ADEA 0.56 13 Asylum_FED9 0.51 16 Asylum_FED9 0.51 2 ADEA 0.42 7 ADEA 0.31 17 Asylum_FED9 0.27 1

Re: [R] Compute rank within factor groups

2007-07-12 Thread Greg Snow
PROTECTED] (801) 408-8111 -Original Message- From: Ken Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 2:50 PM To: Greg Snow; R-help@stat.math.ethz.ch Subject: Re: [R] Compute rank within factor groups On 7/12/07 3:42 PM, Ken Williams [EMAIL PROTECTED] wrote

Re: [R] Compute rank within factor groups

2007-07-12 Thread Peter Dalgaard
Ken Williams wrote: Hi, I have a data.frame which is ordered by score, and has a factor column: Browse[1] wc[c(report,score)] report score 9 ADEA 0.96 8 ADEA 0.90 11 Asylum_FED9 0.86 3 ADEA 0.75 14 Asylum_FED9 0.60 5 ADEA