timeMaster | R Documentation |
This function allows to
timeMaster( baseTime, add = 0, out = c("auto", "hour", "min", "sec"), baseSep = "[\\.,:,\\,',-,\"]" )
baseTime, add |
either integer of seconds or a time string in the format h:m:s, m:s, or s, with or without leading zeroes |
out |
a character string indicating the format of the output. One of "auto" (the default which tries to keep the format of |
baseSep |
a character string or a regular expression identifying separators in |
## Adding seconds to minutes timeMaster(30, add="10:00", out = "min") ## Adding strings to integer seconds and returning a numeric value timeMaster(30, add="10:00") ## Automatic detection of format timeMaster("01:30:55",add="10:00",out = "auto")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.