Learn R Programming

ENVISIONQuery (version 1.20.0)

mergeMatchRows: Merge a set of rows with non-unique values in a given set of columns.

Description

Merge a set of rows with non-unique values in a given set of columns.

Usage

mergeMatchRows(matchTable, matchInds)

Arguments

matchTable
Data frame on which merging is performed.
matchInds
The column indexes which should contain the unique set of values after merging.

Value

Details

Collapse the rows that have the same values in for a given set of columns into a single row, merging the rest of the values into the list of unique values separated by comma, one list per column.