interactive_clustering {dtwclust}R Documentation

A shiny app for interactive clustering

Description

Display a shiny user interface to do clustering based on the provided series.

Usage

interactive_clustering(series, ...)

Arguments

series

Time series in the formats accepted by tsclust().

...

More arguments for shiny::runApp().

Explore

This part of the app is simply to see some basic characteristics of the provided series and plot some of them. The field for integer IDs expects a valid R expression that specifies which of the series should be plotted. Multivariate series are plotted with each variable in a different facet.

Cluster

This part of the app wraps tsclust(), so you should be familiar with it. Some remarks:

The plot area reacts to the plot parameters, but the actual clustering with tsclust() won't be executed until you click the ⁠Cluster!⁠ button. The plot can take a couple of seconds to load! Plotting multivariate series might generate warnings about missing values, they can be safely ignored.

Some of the control parameters are disabled when dtwclust detects them automatically.

The cross-distance matrix is cached so that it can be re-used when appropriate. The cached version is invalidated automatically when necessary.

Evaluate

This part of the app provides results of the current clustering. External CVIs can be calculated if the name of a variable with the ground truth is provided (see cvi()).

Note

Tracing is printed to the console.

Author(s)

Alexis Sarda-Espinosa

Examples


## Not run: 
interactive_clustering(CharTrajMV)

## End(Not run)


[Package dtwclust version 5.5.12 Index]