speed_to_knots: Convert between standard units of measure for wind speed

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

speed_to_knots creates a numeric vector of speed in knots from a numeric vector of speed in the specified unit.

Usage

1

Arguments

x

Numeric vector of wind speeds, in units specified by unit

unit

Character specifying the speed unit other than knots. Possible values are:

  • mph: Miles per hour

  • mps: Meters per second

  • ftps: Feet per second

  • kmph: Kilometers per hour

round

An integer indicating the number of decimal places to round the converted value.

Value

A numeric vector of speeds (in knots)

Note

Equations are from the source code for the National Oceanic and and Atmospheric Administration's online wind speed converter

Author(s)

Joshua Ferreri joshua.m.ferreri@gmail.com, Brooke Anderson brooke.anderson@colostate.edu

References

http://www.srh.noaa.gov/epz/?n=wxcalc_windconvert

See Also

knots_to_speed

Examples

1
2
3

weathermetrics documentation built on May 2, 2019, 2:18 a.m.