powered by
This function takes distance in km and converts it into meters, the units generally used by geographic operations in R. This is a trivial conversion, but this functions ensures that no zeroes are lost along the way!
R
km2m(x)
the number of meters
the number of km
km2m(10000) km2m(1)
Run the code above in your browser using DataLab