encode_ordinal | R Documentation |
to integer values
encode_ordinal(x, order = sort(unique(x)))
x |
vector to encode |
order |
vector with x elements in order of encoding |
numeric vector with encoded values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.