Re: [R] Question about rank() function

2010-02-11 Thread Daniel Malter
-boun...@r-project.org] On Behalf Of Something Something Sent: Thursday, February 11, 2010 2:23 AM To: r-help@r-project.org Subject: [R] Question about rank() function Hello, I am trying to get the 'rank' function to work for me, but not sure what I am doing wrong. Please help. I ra

Re: [R] Question about rank() function

2010-02-10 Thread Moshe Olshansky
ct: [R] Question about rank() function > To: r-help@r-project.org > Received: Thursday, 11 February, 2010, 6:23 PM > Hello, > > I am trying to get the 'rank' function to work for me, but > not sure what I > am doing wrong.  Please help. > > I ran the following command

[R] Question about rank() function

2010-02-10 Thread Something Something
Hello, I am trying to get the 'rank' function to work for me, but not sure what I am doing wrong. Please help. I ran the following commands: data = read.table("test1.csv", head=T, as.is=T, na.string=".", row.nam=NULL) X1 = as.factor(data[[3]]) X2 = as.factor(data[[4]]) X3 = as.factor(data[[5]])