Learn R Programming

nprcgenekeepr (version 1.0.8)

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)

Value

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

Arguments

start_time

a POSIXct time object

Examples

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

Run the code above in your browser using DataLab