windspeed_conversion: Function to convert between different windspeed units.

Description Usage Arguments Value Author(s)

Description

The Function takes a value and converts it into a new unit. By adressing "unit" and "into" the former as well as the new unit are defined.

Usage

1
windspeed_conversion(x, unit=c("m/s","km/h","B","kn"), into=c("m/s","km/h","B","kn"), num=FALSE)

Arguments

x

The numeric value to convert

unit

The input unit. Choose from "m/s","km/h","B","kn"

into

The output unit. Choose from "m/s","km/h","B","kn"

num

A logical parameter indicating whether the returned value should be numeric or a character object with number and unit

Value

If num is FALSE (default) function paste() is called to write the number and the unit together in one character string. Else only the number is returned.

Author(s)

Carsten Vick (carsten.vick@campus.tu-berlin.de)


ca-vi/Climatology_Package documentation built on May 13, 2019, 10:37 a.m.