Re: [R] combining two different matrizes

2013-06-06 Thread arun
5.000 A.K. - Original Message - From: Berend Hasselman To: ThomasH Cc: r-help@r-project.org Sent: Thursday, June 6, 2013 10:04 AM Subject: Re: [R] combining two different matrizes On 05-06-2013, at 23:56, ThomasH wrote: > > Hello together, > > this is ma first post, so plea

Re: [R] combining two different matrizes

2013-06-06 Thread Berend Hasselman
On 06-06-2013, at 17:04, David Carlson wrote: > You didn't give us data, but this may give you enough to solve your problem: > >> set.seed(42) >> nrows <- 6 >> ncols <- 5 >> mat1 <- matrix(sample.int(100, 30), nrows, ncols) >> mat1 > ….. >> newmat <- matrix(rbind(as.vector(mat1), as.vector(mat2

Re: [R] combining two different matrizes

2013-06-06 Thread David Carlson
You didn't give us data, but this may give you enough to solve your problem: > set.seed(42) > nrows <- 6 > ncols <- 5 > mat1 <- matrix(sample.int(100, 30), nrows, ncols) > mat1 [,1] [,2] [,3] [,4] [,5] [1,] 92 70 83 397 [2,] 93 13 23 46 82 [3,] 29 61 40 73 98 [

Re: [R] combining two different matrizes

2013-06-06 Thread Berend Hasselman
On 05-06-2013, at 23:56, ThomasH wrote: > > Hello together, > > this is ma first post, so please aplogize me if post this in the wrong > section. > > I have problem concerning ma two matrizes. > > After a regressione and so on, I got two matrizes > > Matrixres contains the results of ma cal