powered by
Adds trailing and/or leading spaces to a vector of terms.
spaste(terms, trailing = TRUE, leading = TRUE)
Returns a character vector with trailing and/or leading spaces.
A character vector of terms to insert trailing and/or leading spaces.
logical. If TRUE inserts a trailing space in the terms.
TRUE
logical. If TRUE inserts a leading space in the terms.
if (FALSE) { spaste(Top25Words) spaste(Top25Words, FALSE) spaste(Top25Words, trailing = TRUE, leading = FALSE) #or spaste(Top25Words, , FALSE) }
Run the code above in your browser using DataLab