R: approx.size

approx.size {memuse} | R Documentation

## approx.size

### Description

Approximate size of an integer; a poor man's exponential notation.

### Usage

    approx.size(x, unit.names = "long", ..., digits = 1)

### Arguments

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

### Details

A simple printing system to make numbers readable.

### Value

An object of class `approx`.

### See Also

`howmany`

### Examples

    ## Not run:
    library(memuse)

    approx.size(12345678)
    approx.size(12345678, unit.names="comma")

    ## End(Not run)

[Package memuse version 3.0-1 Index]