Learn R Programming

tabr (version 0.5.1)

tabr-c: Concatenate for tabr classes

Description

Several methods are implemented for the classes noteworthy, noteinfo, and music. See tabr-methods() for more details on methods for tabr classes.

Usage

# S3 method for noteworthy
c(...)

# S3 method for noteinfo c(...)

# S3 method for music c(...)

# S3 method for lyrics c(...)

# S3 method for phrase c(...)

Arguments

...

objects.

See Also

tabr-methods(), note-metadata()

Examples

Run this code
# noteworthy class examples
x <- "a b c"
c(x, x)
c(as_noteworthy(x), x)

# noteinfo class examples
x <- "4- t8( t8)( t8) 4*2"
c(as_noteinfo(x), x)

# music class examples
x <- "c,~4 c,1 c'e_'g'4-.*2"
c(as_music(x), x)

# phrase class examples
c(phrase(x), x)

Run the code above in your browser using DataLab