Skip to contents

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()