Description Usage Arguments Value
This function takes a wind direction array (1-D) and averages the direction. Returns average over all data provided. Defaults to data in degrees. This is needed because if you average 10 degrees with 350 degrees, the average is zero, but the result will be 180. Uses na.rm = TRUE if there are NAs in the input data array.
1 |
t |
is angle array |
v |
is speed array |
dr |
is ("D")egrees or ("R")adians, default is degrees |
averaged direction over all data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.