plot_radar: Plot Radar Chart for PAM Cluster Centers

View source: R/plot_radar.R

plot_radarR 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)
}



clusterWebApp documentation built on Aug. 8, 2025, 6:09 p.m.