Learn R Programming

nprcgenekeepr (version 1.0.5)

get_elapsed_time_str: Returns the elapsed time since start_time.

Description

Taken from github.com/rmsharp/rmsutilityr

Usage

get_elapsed_time_str(start_time)

Arguments

start_time

a POSIXct time object

Value

A character vector describing the passage of time in hours, minutes, and seconds.

Examples

Run this code
# NOT RUN {
start_time <- proc.time()
## do something
elapsed_time <- get_elapsed_time_str(start_time)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab