windrose_get_counts | R Documentation |
The windrose
method provides one windrose/wind count
plot type. This function returns a matrix with counts for different
multivariate bins (binning along wind direction dd and wind speed ff).
windrose_get_counts(
x,
dd.breaks = seq(0, 360, by = 30),
ff.breaks = pretty(x$ff)
)
x |
data object of type zoo or data.frame. Needs to contain
at least the two columns |
dd.breaks |
numeric vector with breaks along wind direction.
Default is |
ff.breaks |
numeric vector with breaks along wind speed.
default is |
Returns a matrix of dimension length(dd.breaks) x length(ff.breaks)
with counts >= 0
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.