Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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"


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.