format_guess {tangram} | R Documentation |
Guess the best format for a given set of numerical data
Description
Given a vector of data, default to 3 significant digits or all if maximum is greater than zero
Usage
format_guess(x)
Arguments
x |
numeric; basic math and quantile function must work on data passed in |
Value
numeric; the digits past the decimal recommended for display
Examples
format_guess(rnorm(100))
format_guess(rnorm(100, sd=1e-6))
[Package tangram version 0.8.2 Index]