suffix | R Documentation |
Formattable object with suffix
suffix(x, suffix = "", sep = "", ..., na.text = NULL)
x |
an object |
suffix |
a character vector put behind each non-missing
value in |
sep |
separator |
... |
additional parameter passed to |
na.text |
text for missing values in |
suffix(1:10, "px")
suffix(1:10, ifelse(1:10 >= 2, "units", "unit"), sep = " ")
suffix(c(1:10, NA), "km/h", na.text = "(missing)")
suffix(percent(c(0.1, 0.25)), "*")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.