APtimer: AP Timer

Description Usage Arguments Value

View source: R/APtimer.R

Description

Basic timer.

Usage

1
APtimer(marker = NULL, hush = FALSE)

Arguments

marker

Optional object of class 'POSIXct'.

hush

logical. If set to TRUE, this will silence printing to console.

Value

If marker=NULL, then APtimer returns an object of class 'POSIXct'. When this same object is used as an input later on, then APtimer will print the time elapsed since it was evaluated.


APfun documentation built on Oct. 23, 2020, 8:10 p.m.