+ | R Documentation |
A wrapper for stringr's str_c
and the primitive "+" function.
x + y
x |
(character vector) A character vector. |
y |
(character vector) A character vector. |
A character vector. Note that it will have a length longer than one if one of the inputs has that.
#digits still work
1+1
#characters work too
"str" + "ing"
#mixes are converted to characters
"123" + 456
#longer than length 1
1:2 + "a"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.