I have got a list named "filtered", I would like to construct alist named
"fdata" as following:

fdata <- cbind(matrix(unlist(filtered),ncol=28), myregime)              

If I try names(filtered), it gives all the correct name for each vector, but
if I try names(fdata), it appears "filtered[[1]]"  "filtered[[2]]" ..., 

How can I keep the name in "fdata"? Could anyone give me some advice?
-- 
View this message in context: 
http://www.nabble.com/vector-name-tf4466025.html#a12733890
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