Displaying 2 results from an estimated 2 matches for "ttx1".
Did you mean:
ctx1
2010 Mar 13
3
Making multiple columns to a single column
Hi guys,
I have a very simple question.
I'm trying to make multiple columns to a single column.
For example,
*ttx1* is a 46*72 matrix.
so, I tried this.
*d1=ttx1[,1]
d2=ttx1[,2]
...
d72=ttx1[,72]*
now, d1, d2, ...,d72 become a 46*1 matrix.
And then.. I tried..
*dd=rbind(d1, d2, ..., d72)*
I thought *dd* should be 3312*1 matrix; but it becomes 72*46.
I really wanted to make it a single column (3312*1).
Do...
2009 Oct 03
3
How to deal with this :" object ' obs' not found.
...t know why it is not working.
I even tried a similar example in UCLA webpage:
http://www.ats.ucla.edu/stat/R/faq/sort.htm :it also does not seem to work.
"*sort1.hsb2 <- hsb2[order(read) , ]"*
Do you have any idea how to deal with this problem?? Thank you so much.
-Hyo
> colnames(ttx1)
[1] "longitude 1" "longitude 2" "longitude 3" "longitude 4" "longitude
5"
[6] "longitude 6" "longitude 7" "longitude 8" "longitude 9" "longitude
10"
[11] "longitude 11" "lon...