Convenience function to paste together multiple columns into one. Thin wrapper around tidyr::unite
Arguments
- data
data.table to act on
- col
The name of the new column, as a string or symbol.
- ...
<tidy-select>
Columns to unite- sep
Separator to use between values.
- remove
If
TRUE
, the default, remove input columns from output data frame.- na.rm
If
TRUE
, missing values will be removed prior to uniting each value.