prefix | R Documentation |
Formattable object with prefix
prefix(x, prefix = "", sep = "", ..., na.text = NULL)
x |
an object |
prefix |
a character vector put in front of each non-missing
value in |
sep |
separator |
... |
additional parameter passed to |
na.text |
text for missing values in |
prefix(1:10, "A")
prefix(1:10, "Choice", sep = " ")
prefix(c(1:10, NA), prefix = "A", na.text = "(missing)")
prefix(rnorm(10, 10), "*", format = "d")
prefix(percent(c(0.1, 0.25)), ">")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.