elapsed_time | R Documentation |
Given a start and end time in seconds, returns elapsed time in sec., min. or hrs, as appropriate.
elapsed_time(t0, t1)
t0 |
Numeric start time representing seconds. No default. |
t1 |
Numeric end time representing continuous second count from
|
String
containing elapsed time.
## Not run: start <- proc.time()[3] end <- proc.time()[3] elapsed_time(t0=start, t1=end) start <- proc.time() elapsed_time(start[3], proc.time()[3]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.