Re: [R] vectors of matrix as iinput to lapply

2012-02-05 Thread Poersching
Am 05.02.2012 15:54, schrieb Alaios: Dear all I am using lapply (actually mclapply that share the same syntax). I want to call the same function that takes as input a vector. My initial data structure is a matrix that I want to cut it to multiple vectors (one vector for every row of the matrix

Re: [R] vectors of matrix as iinput to lapply

2012-02-05 Thread Petr Savicky
On Sun, Feb 05, 2012 at 06:54:02AM -0800, Alaios wrote: > Dear all > I am using lapply (actually mclapply that share the same syntax). > > I want to call the same function that takes as input a vector. My initial > data structure is a matrix that I want to cut it to multiple vectors (one > vecto

[R] vectors of matrix as iinput to lapply

2012-02-05 Thread Alaios
Dear all I am using lapply (actually mclapply that share the same syntax). I want to call the same function that takes as input a vector. My initial data structure is a matrix that I want to cut it to multiple vectors (one vector for every row of the matrix) and then feed that to the function by