Re: [R] result numeric(0) when using variable1[which(variable2="max(variable2)"]

2012-01-17 Thread Berend Hasselman
On 17-01-2012, at 11:35, Nerak wrote: > Dear all, > I have a question about the knowing for which row I have the max value of > one of my variables. > I calculated the Rsquared for different columns and made a list to gather > them. I unlisted this list to create a vector with this values. I want

Re: [R] result numeric(0) when using variable1[which(variable2="max(variable2)"]

2012-01-17 Thread Duncan Murdoch
On 17/01/2012 5:35 AM, Nerak wrote: Dear all, I have a question about the knowing for which row I have the max value of one of my variables. I calculated the Rsquared for different columns and made a list to gather them. I unlisted this list to create a vector with this values. I want to know for

[R] result numeric(0) when using variable1[which(variable2="max(variable2)"]

2012-01-17 Thread Nerak
Dear all, I have a question about the knowing for which row I have the max value of one of my variables. I calculated the Rsquared for different columns and made a list to gather them. I unlisted this list to create a vector with this values. I want to know for which column I have the max value of