Displaying 1 result from an estimated 1 matches for "tp25803241p25803267".
Did you mean:
tp25803241p25803241
2009 Oct 08
3
how to convert list into a vector
Hi ,
I want to convert a my list:
> myList
[[1]]
[1] 1 2 3 4 5
[[2]]
[1] 6 7 8
[[3]]
[1] 9 10 11
into something like c(1,2,3,4,5,6,7,8,9,10,11)
I realized that this is possible by
> c(do.call("cbind",myList))
But only when list[[1]] through list[[3] have equal length of vectors within
them
Any ideas?
Thank you for time,
-Daniel
--
View this message in context: