search for: 4darray

Displaying 1 result from an estimated 1 matches for "4darray".

Did you mean: darray
2003 Sep 25
1
apply on a 4D array
...i2 i3 i4 h1 0.9445381 0.8542088 0.7797483 0.8391612 h2 0.9234338 0.7957714 0.6755850 0.7172834 h3 0.8941212 0.7257939 0.5631331 0.5815922 h4 0.8487089 0.6284291 0.4226977 0.4107244 , , a1, w2................................ I thought it would be something along the lines of apply(4Darray, c(1,2,3), function(x) x*3Darray). But this returns the results in the form of 64rows by dim1 by dim2 by dim3. , , i4, a4 h1 h2 h3 h4 [1,] 8.05058486 6.881337e+00 5.579569e+00 3.940329195 [2,] 0.19306289 2.185652e-01 2.347175e-01 0.219540239...