search for: var10a2

Displaying 2 results from an estimated 2 matches for "var10a2".

Did you mean: var10
2008 Dec 22
1
sorting variable names containing digits
...racter strings is a complex topic, but perhaps a couple of examples will clarify what I mean: > s <- c("x1b", "x1a", "x02b", "x02a", "x02", "y1a1", "y10a2", + "y10a10", "y10a1", "y2", "var10a2", "var2", "y10") > sort(s) [1] "var10a2" "var2" "x02" "x02a" "x02b" "x1a" [7] "x1b" "y10" "y10a1" "y10a10" "y10a2" "y1a1&qu...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...Finally we >> order it >> and apply the ordering, ord, to get the sorted version. >> >> The gsubfn home page is at: >> http://gsubfn.googlecode.com >> >> Here is some sample output: >> >> > mysort2(s) >> [1] "var2" "var10a2" "x1a" "x1b" "x02" "x02a" >> "x02b" "y1a1" "y2" "y10" "y10a1" "y10a2" "y10a10" >> > mysort(s) >> [1] "var2" "var1...