ter
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
>
>
&g
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
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
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
-Original 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
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