implode: Create a character string by concatenating the elements of a vector
Description
Create a character string by concatenating the elements of a vector, using a separator and optional final separator.
Usage
implode(strings, sep = "", finalSep = NULL)
Arguments
strings
A vector, which will be coerced to mode character.
sep
A unit length character vector giving the separator to insert between elements.
finalSep
An optional unit length character vector giving the separator to insert between the final two elements.
Value
A character vector of length one.
References
Please cite the following reference when using TractoR in your work:
J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. http://www.jstatsoft.org/v44/i08/.