km_to_mi | R Documentation |
Calculation is simple, but the minutes/seconds math somewhat cumbersome
km_to_mi(m, s = 0, d = 1)
mi_to_km(m, s = 0, d = 1)
m |
Minutes |
s |
Seconds (default: 0) |
d |
Distance (default: 1) |
km_to_mi(3, 50)
mi_to_km(6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.