[R] Simple question on replace a matrix row

David Winsemius dwinsemius at comcast.net
Fri Jan 29 22:36:42 CET 2010


On Jan 29, 2010, at 4:33 PM, anna wrote:

>
> Here is how I get mat1: I have a matrix mainMat of  4 rows and 8  
> columns, I
> take the first row of it to build mat1. The problem might come from  
> how I
> build mainMat --> each column comes from an lapply function which  
> returns a
> list but I convert it to a matrix [4,1]...

Code... we want code.

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list