On 2010-03-02 15:32, Rolf Turner wrote:

On 3/03/2010, at 11:22 AM, Luis Felipe Parra wrote:

Hello I have a 2x10x200 matrix and I would like to bind to it another 2x10
matrix in order to end up with an 2x10x2001 matrix, which command should i
use in order to do this? Thank you

(a) It's not a ***matrix***.  Matrices are ***two*** dimensional.  It's an
array.

(b) Use abind() from the abind package.

(c) RSiteSearch("bind arrays") would have led you straight to this ....
but just RSiteSearch("bind") makes it the 57-th item so you probably
wouldn't have found it that way.

But

 libary(sos)
 ???"bind arrays"

would find it as the first item.

 -Peter Ehlers


        cheers,

                Rolf Turner



______________________________________________
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