The table of wind frequencies by direction and speed classes is returned invisibly.
Arguments
dat
Data frame with columns DateTime, Wind direction and Wind speed.
cols
Columns containing DateTime, Wind direction and Wind speed [1:3].
code
Station code.
name
Station name.
uni
Speed units for the legend header ['m/s'].
maxnsc
Maximum number of wind speed classes [8].
fnum
Number of reference circles to plot [4].
fint
Frequency interval (in %) between reference circles [5].
flab
Parameter indicating which circles must be labelled:
1:
Label outer circle only,
2:
Label all circles (the default),
Other value:
Do not label any circle.
pal
Color gradation to fill the frequency polygons.
ang
Angle along which circles will be labeled, in radians [-3*pi/16].
margin
Margins vector for the plot (to be passed to par) [c(0,0,4,0)].
...
Other graphic parameters.
Details
After reading the data, a frequency table is calculated in 16 wind directions
and a variable number of wind speed classes. The wind direction data must be
provided in degrees.
This table, which covers all available pairs of wind direction and speed present in the data frame, is the basis of the wind-rose plot.