Paste Columns of Data Frame Without Separator
pasteColumns0(x, columns = names(x), ...)
x | data frame |
---|---|
columns | names of columns to be pasted. Default: all columns |
… | args passed to |
vector of character with each element representing the values of the selected columns of one row, being pasted without a separator
x <- data.frame(A = 1:3, B = 2:4) pasteColumns0(x)#> [1] "12" "23" "34"