Learn R Programming

tabr (version 0.4.0)

rest: 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

Run this code
# NOT RUN {
rest(c(1, 8), c(1, 4))
# }

Run the code above in your browser using DataLab