powered by
timer object has a built-in data frame that contains all timings. run this function to extract the data frame.
getTimer(object)
The name for timer object.
A data frame containing all records of a timer object.
# NOT RUN { timer1 <- createTimer() timer1$start("event1") Sys.sleep(1) timer1$stop("event1") getTimer(timer1) # }
Run the code above in your browser using DataLab