autoplot.qtsclust {squat}R Documentation

Plot for qtsclust objects

Description

This function creates a visualization of the clustering results obtained on a sample of QTS and returns the corresponding ggplot2::ggplot object which enable further customization of the plot.

Usage

## S3 method for class 'qtsclust'
autoplot(object, ...)

Arguments

object

An object of class qtsclust as produced by kmeans.qts_sample() or hclust.qts_sample().

...

Further arguments to be passed to other methods.

Value

A ggplot2::ggplot object.

Examples


out <- kmeans(vespa64$igp[1:10], n_clusters = 2)
ggplot2::autoplot(out)


[Package squat version 0.3.0 Index]