Hello,

I would like to use the cbind() function to construct a matrix used in the
middle of a function as following

for (i in 1:1000) {
b[i] <- function(cbind(a[[1]][[i]],
a[[2]][[i]],a[[3]][[i]],...a[[67]][[i]]))
}


Is there an easy way of achieving this rather than "cbind" every column? 
-- 
View this message in context: 
http://www.nabble.com/cbind%28%29-tf4724534.html#a13507633
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