spaste {qdap} | R Documentation |
Add Leading/Trailing Spaces
Description
Adds trailing and/or leading spaces to a vector of terms.
Usage
spaste(terms, trailing = TRUE, leading = TRUE)
Arguments
terms |
A character vector of terms to insert trailing and/or leading spaces. |
trailing |
logical. If |
leading |
logical. If |
Value
Returns a character vector with trailing and/or leading spaces.
Examples
## Not run:
spaste(Top25Words)
spaste(Top25Words, FALSE)
spaste(Top25Words, trailing = TRUE, leading = FALSE) #or
spaste(Top25Words, , FALSE)
## End(Not run)
[Package qdap version 2.4.6 Index]