convert.time | R Documentation |
extends time display from package chron to use h:m:s for > 1 day times.
convert.time(x, format = NULL)
x |
Object to process. For convert.time, must be numeric. |
format |
A character string indicating the form of output. See |
convert.time converts numerics to GRtime objects. The format argument allows a format string to be attached specifying the default format to display in. as.GRtime is a wrapper to convert.time, that when supplied with character input, coerces the value first to numeric using parse.time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.