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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to