search for: wind_freq_t

Displaying 1 result from an estimated 1 matches for "wind_freq_t".

Did you mean: wind_freq
2010 Apr 17
1
Frequency table
...speed (i.e. 0-3, 3-6, etc.). I have a table with 2 fields - *direction values* (0-36, which represents the direction/10) and *speed values*. I can use the direction values to get a 1-dimensional array of the frequency of each direction value using: Wind_freq <- table(cut(Wind_Dir_vec, 0:36)) Wind_freq_t <- t(Wind_freq) ## transpose it to be in the same format as the data above but I need to incorporate the speed values and have a table like the following: 1 2 3 4 5 6 .... 36 0-9 10-19 20-29 30-39 40-49 50+ The final table will be used in the rosavent...