Learn R Programming

tidysdm (version 1.0.0)

km2m: Convert a geographic distance from km to m

Description

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!

Usage

km2m(x)

Value

the number of meters

Arguments

x

the number of km

Examples

Run this code
km2m(10000)
km2m(1)

Run the code above in your browser using DataLab