print.physical: Generic function: print physical measure

Description Usage Arguments Value Examples

View source: R/Units.R

Description

Generic function: print physical measure

Usage

1
2
## S3 method for class 'physical'
print(x, ...)

Arguments

x

A quantity to print

...

Optional arguments to be passed further

Value

Prints to console x with "Units: " at the beginning of the object output

Examples

1
2
 z <- round(runif(10)*100, 1)
 print(u(z, "mD"))

R-kicker/unitconv documentation built on Feb. 12, 2021, 12:33 a.m.