Re: [R] Help with arrays

2014-05-29 Thread Marc Schwartz
On May 29, 2014, at 11:22 AM, Marc Schwartz wrote: > > On May 29, 2014, at 11:02 AM, Olivier Charansonney > wrote: > >> Hello, >> >> I would like to extract the value in row 1 corresponding to the maximum in >> row 2 >> >> >> >> Array W >> >> [,1] [,2] [,3] [,4]

Re: [R] Help with arrays

2014-05-29 Thread Marc Schwartz
On May 29, 2014, at 11:02 AM, Olivier Charansonney wrote: > Hello, > > I would like to extract the value in row 1 corresponding to the maximum in > row 2 > > > > Array W > > [,1] [,2] [,3] [,4] [,5] [,6] [,7] > [,8] [,9][,10] > > [1,] 651.000

[R] Help with arrays

2014-05-29 Thread Olivier Charansonney
Hello, I would like to extract the value in row 1 corresponding to the maximum in row 2 Array W [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9][,10] [1,] 651.0 651.0 651.0 651.0 651.0 651.0 651.0 119.0 78.0 78.0