Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 368 Bytes

units.md

File metadata and controls

17 lines (14 loc) · 368 Bytes
library(units)
#> udunits system database from /usr/share/xml/udunits

set_units(1:3, m)
#> Units: [m]
#> [1] 1 2 3
set_units(60, km / h) * set_units(5, min)
#> 5 [km]
set_units(50, km / h) / set_units(9.81, m / s^2)
#> 1.415789 [s]

set_units(NA, m)
#> NA [m]

Created on 2020-03-03 by the reprex package (v0.3.0)