Learn R Programming

rWind (version 1.1.7)

wind.mean: Wind-data mean

Description

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.

Usage

wind.mean(x)

Arguments

x

An object of class rWind_series

Value

An object of class rWind, which is a data.frame

References

https://en.wikipedia.org/wiki/Cross_product

See Also

wind.dl

Examples

Run this code
# NOT RUN {
data(wind.series)
wind_average <- wind.mean(wind.series)
# }

Run the code above in your browser using DataLab