collapse_to_comma_separated: Concatenate character vector to comma-separated string.

Description Usage Arguments Value

View source: R/utils.R

Description

collapse_to_comma_separated is a helper function that concatenates a character vector to a comma-separated string. If the input vector has only one element, the element will be returned unchanged.

Usage

1

Arguments

v

character vector.

Value

string with elements of v separated by comma.


CorrelAid/newsanchor documentation built on Sept. 6, 2020, 10:44 a.m.