Displaying 1 result from an estimated 1 matches for "ssta_wint".
Did you mean:
ssta_winter
2012 Feb 05
1
R - Array data loop selection
i want to select June, July and August data from the 3D array (`ssta_sst`,
360*180*362).
the loop works but the output of ssta_winter has the identical values for
`ssta_winter[,,i]`.seen below. I have set it up as an array of (360,180,29).
I think the problem is the variable `temp`, i want to define it as an array
first but i don't know what size it should be (360,180,3) or (360,180,3*29)
and how to keep a loop counter in...