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")


pocdata/pocr documentation built on Jan. 5, 2022, 9:54 a.m.