cc {easyr} | R Documentation |
Concatenate.
Description
Shorthand function for paste. Author: Bryce Chamberlain.
Usage
cc(..., sep = "")
Arguments
... |
Arguments to be passed to paste0. Typcially a list of vectors or values to be concatenated. |
sep |
(Optional) Separator between concatenated items. |
Value
Vector of pasted/concatenated values.
Examples
cc( 1, 2, 4 )
x = data.frame( c1 = c( 1, 2, 4 ), c2 = c( 3, 5, 7 ) )
cc( x$c1, x$c2 )
cc( x$c1, x$c2, sep = '-' )
[Package easyr version 0.5-11 Index]