xAnd: Text Processing: Insert and Into a List

View source: R/xAnd.R

xAndR Documentation

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.

Author(s)

David W. Gerbing (Portland State University; gerbing@pdx.edu)

Examples

xAnd(c("sky", "land", "mountains"))

lessR documentation built on Nov. 12, 2023, 1:08 a.m.