Learn R Programming

drumr (version 0.1.0)

tempo: Set a tempo

Description

tempo is a wrapper for Sys.time() that sets a tempo in bpm.

Usage

tempo(bpm = 120)

Arguments

bpm

A number specifying the tempo in beats per minute. Default is 120.

Examples

Run this code
# NOT RUN {
# Set tempo at 60 beats per minute
tempo(60)

# }

Run the code above in your browser using DataLab