tabr-rev {tabr} | R Documentation |
Reverse 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 class 'noteworthy'
rev(x)
## S3 method for class 'noteinfo'
rev(x)
## S3 method for class 'music'
rev(x)
## S3 method for class 'lyrics'
rev(x)
Arguments
x |
object. |
See Also
tabr-methods()
, note-metadata()
Examples
# noteworthy class examples
x <- "a b c"
rev(x)
rev(as_noteworthy(x))
# noteinfo class examples
x <- "4x 4-.*2 2"
rev(as_noteinfo(x))
# music class examples
x <- "c,~4 c,1 c'e_'g'4-."
rev(as_music(x))
[Package tabr version 0.5.0 Index]