hd2uv: Horizontal wind speed & direction to uv

Description Usage Arguments Value Author(s) Examples

Description

Convert horizontal wind speed and direction to uv components of wind.

Usage

1
hd2uv(..., deg = T, drop = T)

Arguments

...

The names of the objects to be converted

deg

Should the resulting wind directions are degree or radian?

drop

Should be deleted the dimensions of an array which have only one level?

Value

uv components of the wind

Author(s)

Ismail SEZEN, sezenismail@gmail.com

Examples

1
2
3
4
5
hd2uv(5, 30)
hd2uv(c(5, 30))
x <- matrix(c(runif(100, -5, 5), round(runif(100, 0, 360), 2)), ncol = 2,
            dimnames = list(NULL, c("h","d")))
hd2uv(x)

isezen/rwind documentation built on May 18, 2019, 5:49 a.m.