autoplot.qtsclust: Plot for 'qtsclust' objects

View source: R/qts-kmeans.R

autoplot.qtsclustR 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)


astamm/squad documentation built on Jan. 26, 2024, 5:30 p.m.