Collapse string

collapse(x, sep = ",")

Arguments

x

[vector]
Input vector.

sep

[character(1)]
Character used to seperate the entries of x in the produced string.

Value

A character vector.