View source: R/generic_utilities.R
timeMaster | R Documentation |
timeMaster timeMaster allows to: transform time from different formats to different formats. add amounts of time to baseTime expressed in different formats. This is verified. And useful. For reasons. :-D
timeMaster(
baseTime,
out = c("auto", "hour", "min", "sec"),
add = 0,
baseSep = "[:,;,\\,',\",\\-]",
digits = c("auto")
)
baseTime |
numeric representig seconds, or a string in the h:m:s or m:s format |
out |
the output format "auto", "hour" for hh:mm:ss, "min" for "mm:ss" |
add |
a time to be added (or subtracted if negative) from basetime. In any format accepted by timeMaster |
baseSep |
the separator dividing hh mm ss |
digits |
the number of digits of the fractional part of seconds |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.