| windrose | R Documentation | 
Returns a windrose plot using ggplot2 of wind speed and
direction. This function is a wrapper of the clifro::windrose() function.
windrose(
  data,
  speed,
  direction,
  facet_by = NULL,
  n_directions = 12,
  n_speeds = 5,
  speed_cuts = NA,
  col_pal = "GnBu",
  ggtheme = c("grey", "gray", "bw", "linedraw", "light", "minimal", "classic"),
  legend_title = "Wind Speed",
  calm_wind = 0,
  variable_wind = 990,
  n_col = NULL
)
data | 
 
  | 
speed | 
 
  | 
direction | 
 
  | 
facet_by | 
 
  | 
n_directions | 
 
  | 
n_speeds | 
 
  | 
speed_cuts | 
 
  | 
col_pal | 
 
  | 
ggtheme | 
 
  | 
legend_title | 
 
  | 
calm_wind | 
 
  | 
variable_wind | 
 
  | 
n_col | 
 
  | 
a ggplot object.
theme for more possible arguments to pass to windrose.
# Generate a windrose plot for the daily_niger data
data(daily_niger)
windrose_plot <- windrose(data = daily_niger, speed = "ws", direction = "wd",
                          facet_by = "station_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.