View source: R/append_values.R
append_values | R Documentation |
Appends values to a value that has been previously encoded by
encode_value()
, using a key generated by make_encoding_key()
.
append_values(encoded_value, values_to_append, prime_key)
encoded_value |
The old encoded value, as generated by |
values_to_append |
A vector of values to add to the encoded value. |
prime_key |
An encoding key, as generated by |
A double containing an integer with the new encoded value.
encode_value()
make_encoding_key()
# Add "Arthropod" to the previously encoded value. new_encoded_value <- append_values(6, "Arthropod", 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.