groupsByLabel {GCDkit}R Documentation

Groups by label

Description

Grouping the data according to the levels of a single label.

Usage

groupsByLabel(lab=NULL)

Arguments

lab

name or sequence number of the label

Details

Sets the groups on the selected column within the data frame 'labels'. If not specified at the function call, the appropriate label is selected by the function 'selectColumnLabel'.

Value

groups

character vector: the grouping information

grouping

the sequence number of the column in the data frame 'labels' used for grouping

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

classify groupsByCluster groupsByDiagram

Examples

    data(sazava)
    accessVar("sazava")
    groupsByLabel("Intrusion")

[Package GCDkit version 6.1 Index]