Peter,

Thank you for the dput values.

Kenn points out that

result <- cbind(data1[,,1], data2[,,1])
dim(result) <- c(3,3,1)

gets what you want.

We wrote abind to bind atomic arrays and/or data.frames. The list feature, which is interfering with your usage, was designed to simplify calling sequences. I think if we cancel that feature (effectively replacing it with do.call) then it should be possible to include your case of non-atomic lists within abind.
Is this worth doing?

Rich

______________________________________________
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