[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: converting lists to matrix
I want to shuffle a list and save the result in a matrix. I tried the
. local var "1/10"
. shuffle `var',num noisily
2 10 4 5 9 7 3 1 6 8
. makematrix,from(r(list)):shuffle `var',num
1 invalid name
I use the user-written -shuffle- command but when I use it with -makematrix-
it doesn't work.
I guess I am missing something very basic. Could somebody help ?
Thanks in advance,
* For searches and help try: