appendSuffix | R Documentation |
Append Suffix to (Selected) Character Values
appendSuffix(values, suffix, valuesToOmit = NULL)
values |
vector of character values to which suffix is to be appended |
suffix |
(character) suffix to be pasted to values that are not in valuesToOmit |
valuesToOmit |
vector of values in values to which no suffix is to be appended |
values with suffix appended to those values that are not in valuesToOmit
values <- c("a", "b", "c")
# Append ".1" to all values
appendSuffix(values, ".1")
# Append ".1" to all values but "c"
appendSuffix(values, ".1", valuesToOmit = "c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.