Re: [R] Find mean of values in three-dimensional array

2016-06-15 Thread Dénes Tóth
On 06/15/2016 09:05 PM, peter dalgaard wrote: > >> On 15 Jun 2016, at 19:37 , Nick Tulli wrote: >> >> Hey R-Help, >> >> I've got a three dimensional array which I pulled from a netcdf file. >> The data in array are the humidity values of locations in the United >> States over a time period. The

Re: [R] Find mean of values in three-dimensional array

2016-06-15 Thread peter dalgaard
> On 15 Jun 2016, at 19:37 , Nick Tulli wrote: > > Hey R-Help, > > I've got a three dimensional array which I pulled from a netcdf file. > The data in array are the humidity values of locations in the United > States over a time period. The three dimensions are [longitude, > latitude, days], 14

[R] Find mean of values in three-dimensional array

2016-06-15 Thread Nick Tulli
Hey R-Help, I've got a three dimensional array which I pulled from a netcdf file. The data in array are the humidity values of locations in the United States over a time period. The three dimensions are [longitude, latitude, days], 141x81x92. My goal is to find the mean value at each longitude/lat