Learn R Programming

rAmCharts (version 2.0.2)

amWind: Plotting wind using rAmCharts

Description

amWind computes a windplot of the given data values.

Usage

amWind(data, col = NULL, backTransparency = 0.5, ...)

Arguments

data
data.frame, a dataframe which columns are series of values, from weakest wind (first column) to stronger wind (last column). See data_wind.
col
character, color(s) of serie(s) hexadecimal like "#00FF00".
backTransparency
numeric, background transparency, between 0 and 1.
...
see amOptions for more options.

See Also

Examples

Run this code
data("data_wind")
amWind(data_wind)


# Other examples available which can be time consuming depending on your configuration.

# Change color
amWind(data = data_wind, col = "#0404B4")
amWind(data = data_wind, col = c("#0404B4","#01DF01","#FFBF00"))

# Change backTransparency
amWind(data = data_wind, col = c("#0404B4","#01DF01","#FFBF00"), backTransparency = 0.1)
amWind(data = data_wind, col = c("#0404B4","#01DF01","#FFBF00"), backTransparency = 1)
amWind(data = data_wind, col = c("#0404B4","#01DF01","#FFBF00"), backTransparency = c(0.1, 0.1, 1))



Run the code above in your browser using DataLab