Description Usage Arguments Value
Formats such that `max(min(x), .005 * max(x))`
is at worst one decimal
place. This should work for multi value vectors as well as single value
ones.
1 | time_format(x, signif = 4L, inc.units = TRUE, trim = TRUE)
|
x |
numeric to format in seconds |
scale |
how to compute time units, "auto" or "kilosecond" - "femtosecond" |
signif |
integer(1L) how many significant digits the largest number should have |
inc.units |
logical(1L) whether to paste the time units to each number |
trim |
logical(1L) set to FALSE to keep leading whitespace to align all numbers |
character formatted numbers for `time_format`
, a
`time_scaled`
S3 object for `time_scale`
containing scaled
times and units
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.