Re: [R] turning an element of list into a vector

2010-01-17 Thread Jim Lemon
On 01/17/2010 04:05 AM, alessia matano wrote: Dear all, I am trying to apply the sapply function on a list, which comes out from a matrix of 25 rows and two columns, so that each element of the list, is a two column element. In my function within sapply, say f, I would like each element of the

Re: [R] turning an element of list into a vector

2010-01-16 Thread David Winsemius
On Jan 16, 2010, at 12:05 PM, alessia matano wrote: Dear all, I am trying to apply the sapply function on a list, which comes out from a matrix of 25 rows and two columns, so that each element of the list, is a two column element. In my function within sapply, say f, I would like each element

[R] turning an element of list into a vector

2010-01-16 Thread alessia matano
Dear all, I am trying to apply the sapply function on a list, which comes out from a matrix of 25 rows and two columns, so that each element of the list, is a two column element. In my function within sapply, say f, I would like each element of the list to become a vector so that I can transpose