Description Usage Arguments Value Note
Returns a formated version of a time value
1 | secs.fmt(secsVal, round.pos = 1)
|
secsVal |
a time value (in seconds) |
round.pos |
The number of decimal places in the formatted string |
a character string
This function only works with a single value. To format a multiple time values stored in a vector, use sapply or lapply
Based on the value of secsVal, the formatted version will be converted to days, hours, minutes, or seconds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.