selected: get clustering ID

View source: R/clusterTools.R

selectedR Documentation

get clustering ID

Description

get the column name or index of the selected clustering from a ‘clustering’ object from segmenTier's clustering wrappers clusterTimeseries) and flowclusterTimeseries). The retuned integer or string allows to interface data for this clustering from the ‘clustering’ object.

Usage

selected(cset, K, name = TRUE)

Arguments

cset

a structure of class 'clustering' as returned by segmenTier's clusterTimeseries

K

cluster number; if missing the ‘selected’ clustering will be taken

name

logical, if TRUE the name of of the selected clustering will be returned, if FALSE its index number


raim/segmenTools documentation built on March 20, 2024, 6:23 a.m.