Description Usage Arguments Examples
Given a vector of wind speed data, this script applies a multiplier to convert from one type of measurement unit to another. Missing values are allowed.
1 | convertunits(wspds, inunits = "m/s", outunits = "m/s")
|
wspds |
vector containing the wind speed observations |
inunits |
input units, "m/s" (default), "mph", "knots" |
outunits |
desired output units, "m/s" (default), "mph", "knots" |
1 2 | # convert from mph to m/s
convertunits(wspds, inunits = "mph")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.