Re: [R] Add a Vector to a Matrix

2008-07-26 Thread Marc Schwartz
on 07/26/2008 10:16 AM ascentnet wrote: I know there is a very simple answer to this question, but it eludes me. I need to insert a vector into a matrix. So if I have a 2 column matrix with 5 rows, I need to insert in an additional vector so there is now 6 rows without overwriting any of the da

[R] Add a Vector to a Matrix

2008-07-26 Thread ascentnet
I know there is a very simple answer to this question, but it eludes me. I need to insert a vector into a matrix. So if I have a 2 column matrix with 5 rows, I need to insert in an additional vector so there is now 6 rows without overwriting any of the data in the matrix already. thanks, Ben. -