convert.distance | R Documentation |
This set of functions converts given distances either from km-to-miles or miles-to-km.
km2ml(km)
ml2km(ml)
km |
numeric. A numeric value or vector of km distance. |
ml |
numeric. A numeric value or vector of mile distance. |
km2ml: Converts kilometers to miles.
ml2km: Converts miles to kilometers.
Numeric value or vector.
km2ml(1.6)
ml2km(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.