View source: R/wind_direction_from_wind_components.R
wind_direction_from_wind_components | R Documentation |
Functions to calculate wind direction and wind speed from horizontal wind components.
wind_direction_from_wind_components(u, v)
wind_speed_from_wind_components(u, v)
u |
|
v |
|
Numeric vector.
Stuart K. Grange
# Calculate wind direction in decimal degrees
wind_direction_from_wind_components(3.12, 0.29)
# Calculate wind speed in m s-1
wind_speed_from_wind_components(3.12, 0.29)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.