s-news
[Top] [All Lists]

Re: combining arrays

Subject: Re: combining arrays
From: Patrick Burns <pburns@pburns.seanet.com>
Date: Wed, 13 Apr 2005 18:09:14 +0100
Cc: Dom Peters <peters_dom@hotmail.com>, s-news@lists.biostat.wustl.edu
In-reply-to: <425D3F42.5080008@blackmesacapital.com>
References: <BAY17-F20EB3E0A604E687FA773F2F3340@phx.gbl> <425D3F42.5080008@blackmesacapital.com>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 StumbleUpon/1.995 (ax)
The 'bind.array' function from S Poetry is similar to 'abind'.

Patrick Burns

Burns Statistics
patrick@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")

Tony Plate wrote:

The 'abind' function might do what you want -- it's a generalization of cbind and rbind that works with multidimensional arrays. You can get the code from the R package 'abind' -- it works in S-PLUS too.

-- Tony

Dom Peters wrote:


Dear members,

Is there an easy way to combine 2 arrays of same dimensions, so that the cells in the new array still have the same dimnames, using array(c(array1,array2),...) moves the cells into the wrong positions?

Thanks for any help.

Dom

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news


--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news






<Prev in Thread] Current Thread [Next in Thread>