antonio rodriguez <antonio.raju <at> gmail.com> writes: > I have 2 arrays: > > dim(a1) > [1] 3 23 23 > dim(a2) > [1] 3 23 23 > > And I want a new array, to say, a3, where: > > dim(a3) > [1] 6 23 23
You can (1) figure out how to transpose the arrays (?aperm), put them together with c(), and re-array() them, *or* check out the abind package: install.packages("abind") library(abind) ?abind Ben ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html