convert_dist_units: Convert distance (and area) values between different units

View source: R/convert_dist_units.R

convert_dist_unitsR Documentation

Convert distance (and area) values between different units

Description

Convert distance (and area) values between different units

Usage

convert_dist_units(dist, from = NULL, to = "meter")

Arguments

dist

Numeric or units object

from

Existing unit for dist, Default: NULL. If dist is a units object, the numerator is used as "from"

to

Unit to convert distance to, Default: 'meter'

Value

Object created by units::set_units()

See Also

Other dist: convert_dist_scale(), get_measurements, is_dist_units(), sf_bbox_misc


elipousson/overedge documentation built on Aug. 13, 2022, 7:41 p.m.