getTimer {timeR}R Documentation

Get the data frame in timer object

Description

timer object has a built-in data frame that contains all timings. run this function to extract the data frame.

Usage

getTimer(object)

Arguments

object

The name for timer object.

Value

A data frame containing all records of a timer object.

Examples

timer1 <- createTimer()
timer1$start("event1")
Sys.sleep(1)
timer1$stop("event1")
getTimer(timer1)

[Package timeR version 1.2.0 Index]