token is an S4 class which acts as a simple
"wrapper" around atomic data, allowing humdrumR to give
that data special treatment.
They are basically atomic vectors with a known
exclusive interpretation.
You should be able to treat them exactly like their "normal" class
of atomic vector---e.g., character, or numeric.
Usage
token(x, Exclusive = NULL, ...)
# S4 method for token
c(x, ...)
# S3 method for token
rep(x, ...)
# S3 method for token
unique(x, ...)
# S4 method for token,ANY,ANY
[(x, i, j, ..., drop = FALSE)
# S4 method for token
show(object)
# S3 method for token
format(x, ...)
is.token(x)
order.token(
x,
...,
na.last = TRUE,
decreasing = FALSE,
method = c("auto", "shell", "radix")
)
# S4 method for token,token
Arith(e1, e2)
# S4 method for token,character
Arith(e1, e2)
# S4 method for character,token
Arith(e1, e2)
# S4 method for token
Summary(x, ..., na.rm = FALSE)