clusterTimeseries2: Cluster a processed time-series with k-means or flowClust

Description Usage Arguments Details

View source: R/clusterTools.R

Description

A wrapper for clustering a time-series object tset provided by processTimeseries, where specifically the DFT of a time-series and requested data transformation were calculated. The clustering is performed on the tset$dat matrix by kmeans or model-based by packages flowClust & flowMerge.

Usage

1
2
3
4
clusterTimeseries2(tset, K = 16, method = "flowClust", selected,
  parameters = c(iter.max = 1e+05, nstart = 100, B = 500, tol = 1e-05, lambda
  = 1, nu = 4, nu.est = 0, trans = 1, merge = FALSE, randomStart = 0),
  nui.thresh = -Inf, verb = 1, ...)

Arguments

tset

a timeseries processed by processTimeseries

K

selected cluster numbers, the argument centers of kmeans

method

string specifying the clustering algorithm to use

selected

a pre-selected cluster number which is then used as a start clustering for flowMerge (if option merge==TRUE)

parameters

named vector of parameters for clustering algorithms, currently ALL required parameters MUST be specified

nui.thresh

threshold correlation of a data point to a cluster center; if below the data point will be added to nuissance cluster 0

verb

level of verbosity, 0: no output, 1: progress messages

...

further parameters to flowClust or kmeans

Details

This function attempts to combine the previous separate clustering wrappers from package segmenTier, flowclusterTimeseries and k-mean's based clusterTimeseries, the latter of which is used for the segmenTier algorithm. Please see the corresponding help files for details on the clustering parameters in argument parameters.


raim/segmenTools documentation built on Nov. 9, 2018, 5:38 p.m.