joinGroups {GCDkit} | R Documentation |
Enables merging several groups into a single one.
joinGroups()
None.
This function is the most useful to merge several groups, defined e.g. on the
basis of a classification plot. A simple spreadsheet is invoked with two columns,
the first ('Old'
) containing the old levels of groups and the second,
'New'
, which can be edited. Finally, groups with identical names will be
merged into a single one.
Optionally, the vector containing the information on the current groups can be
appended to the data frame 'labels
'.
groups |
character vector: the grouping information |
grouping |
Sequential number of the column with grouping information in |
Vojtech Janousek, vojtech.janousek@geology.cz