On Fri, Dec 17, 2010 at 8:58 AM, Michael Friendly wrote:
> Use aperm() to make time the first dimension
> Reshape to a matrix (all other dimensions combined)
> Do your selection on X[1,]
> aperm() to Permute back
To Michael, thanks!
I copy my implementation of Michael's idea at the end of this p
Use aperm() to make time the first dimension
Reshape to a matrix (all other dimensions combined)
Do your selection on X[1,]
aperm() to Permute back
On 12/16/2010 11:00 AM, Roy Shimizu wrote:
Hi. I'm new to R, and I'm still learning R's system for addressing
subsets of data structures. I'm part
Hi. I'm new to R, and I'm still learning R's system for addressing
subsets of data structures. I'm particularly interested in the
problem of selecting subarrays based on complex criteria involving the
dimnames (as opposed to the values of the cells) of the array. Here's
an example of such a prob
3 matches
Mail list logo