View source: R/remove_values.R
remove_values | R Documentation |
Removes values from an encoded value.
remove_values(encoded_value, values_to_remove, prime_key)
encoded_value |
An encoded value, as encoded by |
values_to_remove |
A vector containing values to remove from encoded value. |
prime_key |
An encoding key, as generated by |
A double, containing an integer, where the values to remove has been removed.
encode_value()
make_encoding_key()
# Remove "Fish" from encoded value. new_encoded_value <- remove_values(6, "Fish", c(Fish = 2, Mammal = 3, Bird = 5, Arthropod = 7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.