[R] Combining simulation results

David Brahm brahm at alum.mit.edu
Tue Oct 29 16:13:04 CET 2002


Murray Jorgensen <maj at waikato.ac.nz> wants to combine two arrays, each of dim:
> > dim(resarray)
> [1]  10   6 500   3
into one array of dim c(10, 6, 1000, 3).

A function called "abind" on StatLib <http://lib.stat.cmu.edu/S/abind> does
exactly this, at least in S-Plus.  I have not tried it in R.
-- 
                              -- David Brahm (brahm at alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list