#' @title Convert seconds to timestamp (HH:MM:SS.ms)
#' @param seconds numeric. Seconds
#' @export
conv.sec2timestamp <- function(seconds) {
outputFunProc(R)
timestamp <- format(.POSIXct(seconds, tz = "GMT"), "%H:%M:%OS3")
outputDone()
return(timestamp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.