cc: Concatenate.

View source: R/cc.R

ccR 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 = '-' )

oliver-wyman-actuarial/easyr documentation built on Jan. 27, 2024, 4:37 a.m.