comma_vector: Takes a vector and returns a comma-space separated string for...

Description Usage Arguments

View source: R/comma_vector.R

Description

Takes a vector and returns a comma-space separated string for printing.

Usage

1
comma_vector(x, and = TRUE, oxford = TRUE)

Arguments

x

vector to paste together

and

boolean, whether an "and" should be inserted before the last element

oxford

boolean, whether to include an "Oxford comma" (before the "and")


gregorp/gregor documentation built on May 17, 2019, 8:36 a.m.