decode | R Documentation |
Decodes an object from an integer-based encoding.
decode(x, x_type = type(x))
decode_pc_set(x)
decode_pc_chord_type(x)
decode_pc_chord(x)
x |
Object to decode. |
x_type |
(Character scalar)
The type that |
The decode
function is vectorised and uses precomputed encodings.
The following functions represent alternative implementations
that are not vectorised and do not rely on precomputed encodings:
decode_pc_set
decode_pc_chord_type
decode_pc_chord
decode
returns an object of class vec
;
the other functions return integer vectors.
encode
for the reverse operation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.