
Convert distance (and area) values between different units
Source:R/convert_dist_units.R
      convert_dist_units.RdConvert distance (and area) values between different units
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' 
- drop
- If - TRUE, return numeric. If- FALSE, return class units object.
- digits
- Number of digits to include in result; defaults to - NULL.
Value
Object created by units::set_units()
See also
Other dist:
compare_dist(),
convert_dist_scale(),
get_measurements,
is_dist_units(),
sf_bbox_dist()