ft2miles: Distance Units Conversion

View source: R/ft2miles.R

Unit ConversionR Documentation

Distance Units Conversion

Description

Convert between different distance units - all functions take the form xx2yy where xx is the unit to be converted from and yy is the unit to be converted to.

Usage

ft2miles(x)
miles2ft(x)
ft2km(x)
km2ft(x)

Arguments

x

A quantity in units to be converted from

Value

The value of x converted to the new units. In the example below the conversions are from feet to miles and feet to kilometers (hence functions are ft2miles and ft2km).

Author(s)

Chris Brunsdon

Examples

# How many miles is 10,000 feet?
ft2miles(10000)
# How about in kilometers?
ft2km(10000)

GISTools documentation built on Oct. 3, 2024, 1:08 a.m.