Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/wind_functions2.R
wind.mean computes the mean (average) wind speed and wind direction of a time series dataset of winds of the same region. Summaries of time series are not trivial to compute. We compute the arithmetic mean for the wind speed. The direction as the circular mean, see https://en.wikipedia.org/wiki/Circular_mean for more details. The U and V components are afterwards transformed from these values.
1 | wind.mean(x)
|
x |
An object of class |
An object of class rWind
, which is a data.frame
For large time series, it could take a while.
Javier Fernández-López (jflopez.bio@gmail.com)
https://en.wikipedia.org/wiki/Cross_product
1 2 | data(wind.series)
wind_average <- wind.mean(wind.series)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.