View source: R/convert.distance.R
convert.distance | R Documentation |
Convert distances between kilometers, nautical miles, and statute miles.
convert.distance(x, from = c("nm", "km", "mi"), to = c("km", "nm", "mi"))
x |
numeric. The distance to be converted. |
from, to |
character. Units to convert from and to. Can be "km" (kilometers), "nm" (nautical miles), or "mi" (statute miles), or any partial match thereof (case sensitive). |
Eric Archer eric.archer@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.