powered by
Concatenate strings, possibly interspersing them with another string.
collapse(..., inter = "")
Objects to be pasted and collapsed.
[character] String with which to intersperse the result. Defaults to an empty string.
[character] The collapsed string.
# NOT RUN { tmp <- c ("i", "am", "a", "sample", "vector") identical (soundcorrs:::collapse(tmp), paste0(tmp,collapse="")) # }
Run the code above in your browser using DataLab