Skip to contents

Paste Columns of Data Frame Without Separator

Usage

pasteColumns0(x, columns = names(x), ...)

Arguments

x

data frame

columns

names of columns to be pasted. Default: all columns

...

args passed to pasteColumns

Value

vector of character with each element representing the values of the selected columns of one row, being pasted without a separator

Examples

x <- data.frame(A = 1:3, B = 2:4)
pasteColumns0(x)
#> [1] "12" "23" "34"