timer: A simple timer function.

Description Usage Arguments Value Examples

View source: R/timer.R

Description

A simple timer function.

Usage

1
timer(interval = 1, units = "secs", sound = 2)

Arguments

interval

The length of time you want

units

The unit of time you want to use, i.e. "secs", "mins", "hours"

sound

Your sound of choice from beepr::beep

Value

a sound from the beepr pkg; options are 1-11. Defaults to 2

Examples

1
timer(45, "mins")

fishsciences/cfs.misc documentation built on Jan. 29, 2021, 3:19 a.m.