Generic Plot Method for Clustering
Plot a clustering according to various parameters
plotclus( clustering, d = NULL, type = c("scatter", "boxplot", "tree", "height", "mapping", "words"), centers = FALSE, k = NULL, tailsize = 9, ... )
clustering |
The clustering to be plotted. |
d |
The dataset ( |
type |
The type of plot. |
centers |
Indicates whether or not cluster centers should be plotted (used only in scatter plots). |
k |
Number of clusters (used only for hierarchical methods). If not specified an "optimal" value is determined. |
tailsize |
Number of clusters showned (used only for height plots). |
... |
Other parameters. |
## Not run: require (datasets) data (iris) ward = HCA (iris [, -5], method = "ward", k = 3) plotclus (ward, iris [, -5], type = "scatter") # Scatter plot plotclus (ward, iris [, -5], type = "boxplot") # Boxplot plotclus (ward, iris [, -5], type = "tree") # Dendrogram plotclus (ward, iris [, -5], type = "height") # Distances between merging clusters som = SOM (iris [, -5], xdim = 5, ydim = 5, post = "ward", k = 3) plotclus (som, iris [, -5], type = "scatter") # Scatter plot for SOM plotclus (som, iris [, -5], type = "mapping") # Kohonen map ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.