joinGroups {GCDkit}R Documentation

Merge groups

Description

Enables merging several groups into a single one.

Usage

joinGroups()

Arguments

None.

Details

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'.

Value

groups

character vector: the grouping information

grouping

Sequential number of the column with grouping information in labels (if appended) or simply set to -100.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz


[Package GCDkit version 4.0 Index]