powered by
Shorthand function for paste. Author: Bryce Chamberlain.
cc(..., sep = "")
Vector of pasted/concatenated values.
Arguments to be passed to paste0. Typcially a list of vectors or values to be concatenated.
(Optional) Separator between concatenated items.
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 = '-' )
Run the code above in your browser using DataLab