uniq_encoding | R Documentation |
Unique encoding
uniq_encoding(x)
x |
A vector of values |
A list
c(1, 2, 2, 3, 3, 3) %>% uniq_encoding()
c(3, 1, 3, 2, 3, 2) %>% uniq_encoding()
c(NA, 1, 2, 2, 3, 3, 3, NA) %>% uniq_encoding()
c(1, 2, 2, 3, 3, 3) %>% as.character() %>% uniq_encoding()
c(1, 2, 2, 3, 3, 3) %>% factor() %>% uniq_encoding()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.