Try this:
positions <- order(ranks)
On 8/10/07, Tom.O <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have run into a problem and i wonder if anyone has a smart way of doing
> this.
>
> For example i have this data frame for 5 different test groups:
>
> Res1 <- c(1,5,4,-0.5,3)
> Res2 <- c(-1,8,2,0,3)
> M
Hi
I have run into a problem and i wonder if anyone has a smart way of doing
this.
For example i have this data frame for 5 different test groups:
Res1 <- c(1,5,4,-0.5,3)
Res2 <- c(-1,8,2,0,3)
Mean <- c(0.5,1,1.5,-.5,2)
MyFrame <- data.frame(Res1,Res2,Mean,row.names=c("G1","G2","G3","G4","G5")