plot_radar {clusterWebApp}R Documentation

Plot Radar Chart for PAM Cluster Centers

Description

Displays the medoids of each PAM cluster using a polar radar chart.

Usage

plot_radar(data, clusters)

Arguments

data

A numeric matrix or data frame for clustering.

clusters

An integer indicating the number of clusters.

Value

A ggplot object showing the radar chart of cluster medoids.

Examples

data <- scale(iris[, 1:4])
if (interactive()) {
  plot_radar(data, clusters = 3)
}



[Package clusterWebApp version 0.1.3 Index]