plotWindrose: Plot a wind rose

Description Usage Arguments Examples

View source: R/plotWindrose.r

Description

Create a wind rose plot showing the direction and speed of wind

Usage

1
2
3
plotWindrose(data, spd, dir, spdres = 2, dirres = 30, spdmin = 2,
spdmax = 20, spdseq = NULL, palette = "YlGnBu", countmax = NA, debug =
0, title = NULL)

Arguments

data

The data frame.

spd

Wind speed (m/s).

dir

Wind direction (degrees).

spdres

Wind speed resolution (m/s).

dirres

Wind direction resolution (degrees).

spdmin

Minimum wind speed (m/s).

spdmax

Maximum wind speed (m/s).

spdseq

The wind speed bins.

palette

Colour palette to be used.

countmax

Maximum for ylim.

debug

An integer. If greater than zero then the function will run in debug mode.

title

The title of the plot.

Examples

1
2
3
4
5
6
7
8
## Close any previously open graphic devices
graphics.off()

## Load the data
data(fluxes)

## Plot the wind rose
plotWindrose(data=fluxes,spd="wind_speed",dir="wind_dir")

Example output



FREddyPro documentation built on May 29, 2017, 7:22 p.m.