pretty_ms | R Documentation |
Pretty formatting of milliseconds
pretty_ms(ms, compact = FALSE)
ms |
Numeric vector of milliseconds |
compact |
If true, then only the first non-zero unit is used. See examples below. |
Character vector of formatted time intervals.
Other time:
pretty_dt()
,
pretty_sec()
pretty_ms(c(1337, 13370, 133700, 1337000, 1337000000))
pretty_ms(c(1337, 13370, 133700, 1337000, 1337000000),
compact = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.