log_total_time {strata} | R Documentation |
Print time difference in a standard message for logging purposes
Description
Print time difference in a standard message for logging purposes
Usage
log_total_time(begin, end)
Arguments
begin |
A data-time object, signifying the beginning or a process |
end |
A data-time object, signifying the end of a process |
Value
A numeric value of the time difference in seconds
See Also
Other log:
log_error()
,
log_message()
,
survey_log()
Examples
begin <- Sys.time()
# do something
end <- Sys.time() + 999
log_total_time(begin, end)
[Package strata version 1.4.5 Index]