rest: Create rests

View source: R/phrase_helpers.R

restR Documentation

Create rests

Description

Create multiple rests efficiently with a simple wrapper around rep() using the times argument.

Usage

rest(x, n = 1)

Arguments

x

integer, duration.

n

integer, number of repetitions.

Value

a character string.

Examples

rest(c(1, 8), c(1, 4))

tabr documentation built on Sept. 12, 2024, 6:18 a.m.