listString: Convert a vector to a textual list

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.