Learn R Programming

crunch (version 1.30.4)

serialPaste: Make a prose list

Description

Function to paste together a list of items, separated by commas (if more than 2), and with the last one having the collapse string.

Usage

serialPaste(x, collapse = "and")

Arguments

x

vector or list

collapse

default="and"