R: hr

hr {memuse} | R Documentation

## hr

### Description

A poor man's exponential notation.

### Usage

    hr(x, names = "comma", digits = 1)

### Arguments

`x` | A number.
`names` | "long", "short", or "comma"; determines wheter the output reads like "10 million", "10m", or "10,000,000", respectively.
`digits` | The number of decimal digits to retain.

### Details

Approximate size of an integer. Very useful when dealing with potentially large values, such as those from `howmany()`.

### Value

An object of class `humanreadable`.

### See Also

`howmany`

### Examples

    ## Not run:
    library(memuse)

    hr(12345678)
    hr(12345678, "long")

    ## End(Not run)

[Package memuse version 4.1-0 Index]