Learn R Programming

lessR (version 3.5.5)

xAnd: Text Processing: Insert and Into a List

Description

Inserts the word and into a vector of words, each a separate character string. Primarily for internal use in text processing of knitr output. Not usually referenced by the user.

Usage

xAnd(x)

Arguments

x
The set of character strings for which to insert and.

Details

Input is a vector of character strings, output is a single character string with and inserted if needed.

Examples

Run this code
xAnd(c("sky", "land", "mountains"))

Run the code above in your browser using DataLab