Displaying 1 result from an estimated 1 matches for "spin3".
Did you mean:
spin
2003 May 26
4
spinning and flipping arrays
Hello people,
Is there some simple way of spinning and/or flipping arrays in R?
Here's what I mean.
Suppose that foo is a 2x3x4 array with the following contents: (I know
this is different than typing 'foo' at and R prompt, but I'm so used to
row major order from using APL, I have a hard time with R's output)
> foo[1,,]
[,1] [,2] [,3] [,4]
[1,] 1 2 3 4