Description Usage Arguments Author(s) Examples
View source: R/formatDuration.R
formatDuration
is a minimalist function that formats durations. You give it a duration and it formats it.
1 | formatDuration(durationSecs,padded=FALSE)
|
durationSecs |
The duration in seconds. |
padded |
Whether you want the duration padded. If you do, it adds space such that all durations occupy the same width (provided less than 100 hours). |
1 2 | formatDuration(1231)
formatDuration(1231,padded=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.