[R] smart way to turn a vector into a matrix

anna lippelanna24 at hotmail.com
Mon Apr 19 16:06:17 CEST 2010


Hi Erik, what if I do some manipulations on the new list created with split
and I want to come back to its initial form?  I saw you have the unsplit
function but I get errors. What I am doing is that I use as the "f" function
as in the help the same initial f I used to split but I get the following
error:
Error in x[i] <- value[[j]] : replacement has length zero


-----
Anna Lippel
-- 
View this message in context: http://n4.nabble.com/smart-way-to-turn-a-vector-into-a-matrix-tp1692671p2015952.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list