Re: [R] replacing columns with same names

2014-11-14 Thread eliza botto
Thankyou very much Berend. It worked!!! Have a great weekend!! :) Eliza > Subject: Re: [R] replacing columns with same names > From: b...@xs4all.nl > Date: Fri, 14 Nov 2014 16:24:03 +0100 > CC: r-help@r-project.org > To: eliza_bo...@hotmail.com > > > On 14-11-2014, at 1

Re: [R] replacing columns with same names

2014-11-14 Thread Berend Hasselman
On 14-11-2014, at 16:04, eliza botto wrote: > Dear useRs, > I have two matrices >> dput(EB) > structure(1:15, .Dim = c(3L, 5L), .Dimnames = list(NULL, c("A", "B", "C", > "D", "E"))) > >> dput(EA) > structure(31:36, .Dim = c(3L, 2L), .Dimnames = list(NULL, c("D", "E"))) > I have two question >

[R] replacing columns with same names

2014-11-14 Thread eliza botto
Dear useRs, I have two matrices > dput(EB) structure(1:15, .Dim = c(3L, 5L), .Dimnames = list(NULL, c("A", "B", "C", "D", "E"))) > dput(EA) structure(31:36, .Dim = c(3L, 2L), .Dimnames = list(NULL, c("D", "E"))) I have two question 1-Generally speaking, How can I replace the columns of matrix wit