clusterTimeseries2 | R Documentation |
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.
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,
ncpu = 1,
verb = 1,
...
)
tset |
a timeseries processed by |
K |
selected cluster numbers, the argument |
method |
string specifying the clustering algorithm to use, currently "kmeans" and "flowClust" are implemented |
selected |
a pre-selected cluster number which is then
used as a start clustering for |
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 |
ncpu |
number of cores available for parallel mode of
flowClust. NOTE: parallel mode of
|
verb |
level of verbosity, 0: no output, 1: progress messages |
... |
further parameters to |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.