Re: [R] Decreasing Sort Error Message

2009-10-11 Thread Romain Francois
On 10/11/2009 10:55 AM, tom_p wrote: Can anybody tell me how to fix this error? Thanks, Tom 'decreasing' must be a length-1 logical vector. so either TRUE or FALSE > array_down = sort(sort_array,decreasing = TRUE ) array_down = sort(sort_array,decreasing = 1) Error in sort(sort_array, de

[R] Decreasing Sort Error Message

2009-10-11 Thread tom_p
Can anybody tell me how to fix this error? Thanks, Tom > array_down = sort(sort_array,decreasing = 1) Error in sort(sort_array, decreasing = 1) : 'decreasing' must be a length-1 logical vector. -- View this message in context: http://www.nabble.com/Decreasing-Sort-Error-Message-tp25841678p