A string with the values in each column pasted together.
Arguments
x
A list or data frame.
sep
A character sting to separate the terms.
collapse
An optional character string to separate the results.
use_paste0
Boolean, if TRUE, will call paste0 instead of paste.
cols
An optional vector of column positions or names to paste together. If passing column names, set by_name to TRUE.
The order of items in cols determines the order of the paste result.
by_name
Boolean, if TRUE, it quotes the items in cols to properly index the list by name (x[[1]] vs x[["col_a"]]).