Displaying 2 results from an estimated 2 matches for "1x9".
Did you mean:
19
2011 Dec 02
2
order function give back row name
Hello,
I have a matrix results with dimension 1x9 double matrix
XLB XLE XLF XLI
1 53.3089 55.77923 37.64458 83.08646
I'm trying to order this matrix
> print(order(results))
[1] 3 1 2 4
how can the function order return the columnname XLF XLB XLE XLI instead of 3 1 2 4
any idea ?
Thank you in...
2009 Jan 04
1
How do I find the index for a value in an array
Hello,
Could anybody tell me how to find the index for a value which I define in an array?
ie.
c<-matrix(1:9,1,9) #A 1x9 matrix filled with numbers 1 - 9 in order
I want to know the index for the value 5.
Thanks in advance,
George Chen