add_miles: Construction function to add unit miles

View source: R/add_lkm.R

add_milesR Documentation

Construction function to add unit miles

Description

add_miles just add unit 'miles' to different R objects

Usage

add_miles(x)

Arguments

x

Object with class "data.frame", "matrix", "numeric" or "integer"

Value

Objects of class "data.frame" or "units"

See Also

Other Add distance unitts: add_lkm()

Examples

## Not run: 
a <- add_miles(rnorm(100)*10)
plot(a)
b <- add_miles(matrix(rnorm(100)*10, ncol = 10))
print(head(b))

## End(Not run)

vein documentation built on May 29, 2024, 7:20 a.m.