Skip to contents

Unite Columns of a Table in a dm object.

Usage

dm_unite(adam_db, dataset, cols, sep = ".", new = NULL)

Arguments

adam_db

(dm) object containing the ADaM datasets

dataset

(string) the name of a table in the adam_db object.

cols

(character) the name of the columns to unite.

sep

(string) the separator for the new column name.

new

(string) the name of the new column. If NULL the concatenation of cols separated by sep is used.

Value

dm object with a united column.