Re: [R] Removing header from a matrix

2012-10-08 Thread arun
11:12 PM Subject: [R] Removing header from a matrix I have three column vectors (X1, X2, X3).      X1  X2  X3    20   25  40    100 90  80 I want to put them as one matrix of dimention 2 by 3,  but remove headers(X1,X2,X3) from the matrix. I wrote as follows U-cbind (X1,X2,X3

[R] Removing header from a matrix

2012-10-07 Thread Dereje Bacha
I have three column vectors (X1, X2, X3).      X1  X2  X3    20   25  40    100 90  80 I want to put them as one matrix of dimention 2 by 3,  but remove headers(X1,X2,X3) from the matrix. I wrote as follows U-cbind (X1,X2,X3) the headers are there. I need help please. Thanks Dereje

Re: [R] Removing header from a matrix

2012-10-07 Thread Jeff Newmiller
You need to clarify what you have and what you want. Please use the dput() function to create a reproducible example that we can enter into R to make suggestions about. [1] There are a couple of possible things that could be going on here, and what you have given so far is ambiguous. [1]

Re: [R] Removing header from a matrix

2012-10-07 Thread David L Carlson
PM To: r-help@r-project.org Subject: [R] Removing header from a matrix I have three column vectors (X1, X2, X3). X1 X2 X3 20 25 40 100 90 80 I want to put them as one matrix of dimention 2 by 3, but remove headers(X1,X2,X3) from the matrix. I wrote as follows