View source: R/transforms_text.R
numerize | R Documentation |
Combine several numbers together into a string
numerize(..., sep = "")
... |
expressions containing numerical values to concatenate |
sep |
An optional separator to insert between the values in ... |
Any number of values can be concatenated. Numerize is meant to work with number-like data, but will only warn if the expressions return non-integer values. The returned values are character representations of (ideally) numbers, but if non-integer values are included they will still appear.
A character vector with the concatenated values in ...
numerize(as.character(1:10), 11:20, sep=".")
numerize(as.character(1:10), letters[1:10], sep=".")
numerize(as.character(1:10), 11:20/3, sep=".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.