listString {odfWeave} | R Documentation |
Takes a vector and produces output like "element1 and element2" or "element1, element2 and element3"
listString(x, period = FALSE, verbose = FALSE)
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 |
a character string
Max Kuhn
listString(letters[1]) listString(letters[1:2]) listString(letters[1:4])