log_total_time | R Documentation |
Print time difference in a standard message for logging purposes
log_total_time(begin, end)
begin |
A data-time object, signifying the beginning or a process |
end |
A data-time object, signifying the end of a process |
A numeric value of the time difference in seconds
Other log:
log_error()
,
log_message()
,
survey_log()
begin <- Sys.time()
# do something
end <- Sys.time() + 999
log_total_time(begin, end)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.