listString: Convert a vector to a textual list

Description Usage Arguments Value Author(s) Examples

Description

Takes a vector and produces output like "element1 and element2" or "element1, element2 and element3"

Usage

1
listString(x, period = FALSE, verbose = FALSE)

Arguments

x

a vector (converted to character if not)

period

a logical: should a period end the text?

verbose

a logical: how much details are logged

Value

a character string

Author(s)

Max Kuhn

Examples

1
2
3

odfWeave documentation built on May 30, 2017, 7:23 a.m.

Search within the odfWeave package
Search all R packages, documentation and source code