smart_digits: Format numbers with automatic number of digits

Description Usage Arguments Value Author(s) References

View source: R/scales.R

Description

Format numbers with automatic number of digits

Usage

1
2
3

Arguments

x

A numeric vector to format

...

Parameters passed to format()

Value

A character vector. smart_digits_format() returns a function with a single argument x, a numeric vector, that returns a character vector.

Author(s)

Josh O'Brien, Baptise Auguie, Jeffrey B. Arnold

References

Josh O'Brien, https://stackoverflow.com/questions/23169938/select-accuracy-to-display-additional-axis-breaks/23171858#23171858.


ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.