powered by
A poor man's exponential notation.
hr(x, names = "comma", digits = 1)
A number.
"long", "short", or "comma"; determines wheter the output reads like "10 million", "10m", or "10,000,000", respectively.
The number of decimal digits to retain.
An object of class humanreadable.
humanreadable
Approximate size of an integer. Very useful when dealing with potentially large values, such as those from howmany().
howmany()
howmany
# NOT RUN { library(memuse) hr(12345678) hr(12345678, "long") # } # NOT RUN { # }
Run the code above in your browser using DataLab